#142E52 - Midnight Ocean
Hex color #142E52 is called Midnight Ocean. It consists of 8% red, 18% green, and 32% blue in RGB color space. In CMYK it is 76% cyan, 44% magenta, 0% yellow, and 68% black. In HSL it is 215° hue, 61% saturation, and 20% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Midnight Ocean | — |
| HEX | #142E52 | #142E52 |
| HEXA | #142E52FF | #142E52FF |
| RGB | 20, 46, 82 | rgb(20, 46, 82) |
| RGBA | 20, 46, 82, 1 | rgba(20, 46, 82, 1) |
| HSL | 215%, 61%, 20% | hsl(215%, 61%, 20%) |
| CMYK | 76%, 44%, 0%, 68% | cmyk(76%, 44%, 0%, 68%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #142E52 is #EBD1AD.
Preview on black and white
As #142E52 has 20% lightness, this color is dark, so it has more contrast with white.
#142E52 On White Background
#142E52
#142E52
Text Color
This is how text looks with this color.
#142E52 On Black Background
#142E52
#142E52
Text Color
This is how text looks with this color.
Transform color
20, 46, 82rgb(20, 46, 82)