#0C1C5F - Pure Midnight
Hex color #0C1C5F is called Pure Midnight. It consists of 5% red, 11% green, and 37% blue in RGB color space. In CMYK it is 87% cyan, 71% magenta, 0% yellow, and 63% black. In HSL it is 228° hue, 78% saturation, and 21% 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 | Pure Midnight | — |
| HEX | #0C1C5F | #0C1C5F |
| HEXA | #0C1C5FFF | #0C1C5FFF |
| RGB | 12, 28, 95 | rgb(12, 28, 95) |
| RGBA | 12, 28, 95, 1 | rgba(12, 28, 95, 1) |
| HSL | 228%, 78%, 21% | hsl(228%, 78%, 21%) |
| CMYK | 87%, 71%, 0%, 63% | cmyk(87%, 71%, 0%, 63%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #0C1C5F is #F3E3A0.
Preview on black and white
As #0C1C5F has 21% lightness, this color is dark, so it has more contrast with white.
#0C1C5F On White Background
#0C1C5F
#0C1C5F
Text Color
This is how text looks with this color.
#0C1C5F On Black Background
#0C1C5F
#0C1C5F
Text Color
This is how text looks with this color.
Transform color
12, 28, 95rgb(12, 28, 95)