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