#0C2472 - Midnight Crest
Hex color #0C2472 is called Midnight Crest. It consists of 5% red, 14% green, and 45% blue in RGB color space. In CMYK it is 89% cyan, 68% magenta, 0% yellow, and 55% black. In HSL it is 226° hue, 81% saturation, and 25% 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 | #0C2472 | #0C2472 |
| HEXA | #0C2472FF | #0C2472FF |
| RGB | 12, 36, 114 | rgb(12, 36, 114) |
| RGBA | 12, 36, 114, 1 | rgba(12, 36, 114, 1) |
| HSL | 226%, 81%, 25% | hsl(226%, 81%, 25%) |
| CMYK | 89%, 68%, 0%, 55% | cmyk(89%, 68%, 0%, 55%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #0C2472 is #F3DB8D.
Preview on black and white
As #0C2472 has 25% lightness, this color is dark, so it has more contrast with white.
#0C2472 On White Background
#0C2472
#0C2472
Text Color
This is how text looks with this color.
#0C2472 On Black Background
#0C2472
#0C2472
Text Color
This is how text looks with this color.
Transform color
12, 36, 114rgb(12, 36, 114)