#0C021F - Election Night
Hex color #0C021F is called Election Night. It consists of 5% red, 1% green, and 12% blue in RGB color space. In CMYK it is 61% cyan, 94% magenta, 0% yellow, and 88% black. In HSL it is 261° hue, 88% saturation, and 6% 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 | Election Night | — |
| HEX | #0C021F | #0C021F |
| HEXA | #0C021FFF | #0C021FFF |
| RGB | 12, 2, 31 | rgb(12, 2, 31) |
| RGBA | 12, 2, 31, 1 | rgba(12, 2, 31, 1) |
| HSL | 261%, 88%, 6% | hsl(261%, 88%, 6%) |
| CMYK | 61%, 94%, 0%, 88% | cmyk(61%, 94%, 0%, 88%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 6% (dark) | — |
Negative color
The color opposite to #0C021F is #F3FDE0.
Preview on black and white
As #0C021F has 6% lightness, this color is dark, so it has more contrast with white.
#0C021F On White Background
#0C021F
#0C021F
Text Color
This is how text looks with this color.
#0C021F On Black Background
#0C021F
#0C021F
Text Color
This is how text looks with this color.
Transform color
12, 2, 31rgb(12, 2, 31)