#142872 - Midnight Crest
Hex color #142872 is called Midnight Crest. It consists of 8% red, 16% green, and 45% blue in RGB color space. In CMYK it is 82% cyan, 65% magenta, 0% yellow, and 55% black. In HSL it is 227° hue, 70% saturation, and 26% 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 Crest | — |
| HEX | #142872 | #142872 |
| HEXA | #142872FF | #142872FF |
| RGB | 20, 40, 114 | rgb(20, 40, 114) |
| RGBA | 20, 40, 114, 1 | rgba(20, 40, 114, 1) |
| HSL | 227%, 70%, 26% | hsl(227%, 70%, 26%) |
| CMYK | 82%, 65%, 0%, 55% | cmyk(82%, 65%, 0%, 55%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 26% (dark) | — |
Negative color
The color opposite to #142872 is #EBD78D.
Preview on black and white
As #142872 has 26% lightness, this color is dark, so it has more contrast with white.
#142872 On White Background
#142872
#142872
Text Color
This is how text looks with this color.
#142872 On Black Background
#142872
#142872
Text Color
This is how text looks with this color.
Transform color
20, 40, 114rgb(20, 40, 114)