#0C2176 - Midnight Crest
Hex color #0C2176 is called Midnight Crest. It consists of 5% red, 13% green, and 46% blue in RGB color space. In CMYK it is 90% cyan, 72% magenta, 0% yellow, and 54% black. In HSL it is 228° hue, 82% 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 | #0C2176 | #0C2176 |
| HEXA | #0C2176FF | #0C2176FF |
| RGB | 12, 33, 118 | rgb(12, 33, 118) |
| RGBA | 12, 33, 118, 1 | rgba(12, 33, 118, 1) |
| HSL | 228%, 82%, 25% | hsl(228%, 82%, 25%) |
| CMYK | 90%, 72%, 0%, 54% | cmyk(90%, 72%, 0%, 54%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #0C2176 is #F3DE89.
Preview on black and white
As #0C2176 has 25% lightness, this color is dark, so it has more contrast with white.
#0C2176 On White Background
#0C2176
#0C2176
Text Color
This is how text looks with this color.
#0C2176 On Black Background
#0C2176
#0C2176
Text Color
This is how text looks with this color.
Transform color
12, 33, 118rgb(12, 33, 118)