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