#040C39 - Infinite Night
Hex color #040C39 is called Infinite Night. It consists of 2% red, 5% green, and 22% blue in RGB color space. In CMYK it is 93% cyan, 79% magenta, 0% yellow, and 78% black. In HSL it is 231° hue, 87% saturation, and 12% 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 | Infinite Night | — |
| HEX | #040C39 | #040C39 |
| HEXA | #040C39FF | #040C39FF |
| RGB | 4, 12, 57 | rgb(4, 12, 57) |
| RGBA | 4, 12, 57, 1 | rgba(4, 12, 57, 1) |
| HSL | 231%, 87%, 12% | hsl(231%, 87%, 12%) |
| CMYK | 93%, 79%, 0%, 78% | cmyk(93%, 79%, 0%, 78%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #040C39 is #FBF3C6.
Preview on black and white
As #040C39 has 12% lightness, this color is dark, so it has more contrast with white.
#040C39 On White Background
#040C39
#040C39
Text Color
This is how text looks with this color.
#040C39 On Black Background
#040C39
#040C39
Text Color
This is how text looks with this color.
Transform color
4, 12, 57rgb(4, 12, 57)