#040F36 - Infinite Night
Hex color #040F36 is called Infinite Night. It consists of 2% red, 6% green, and 21% blue in RGB color space. In CMYK it is 93% cyan, 72% magenta, 0% yellow, and 79% black. In HSL it is 227° hue, 86% saturation, and 11% 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 | #040F36 | #040F36 |
| HEXA | #040F36FF | #040F36FF |
| RGB | 4, 15, 54 | rgb(4, 15, 54) |
| RGBA | 4, 15, 54, 1 | rgba(4, 15, 54, 1) |
| HSL | 227%, 86%, 11% | hsl(227%, 86%, 11%) |
| CMYK | 93%, 72%, 0%, 79% | cmyk(93%, 72%, 0%, 79%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 11% (dark) | — |
Negative color
The color opposite to #040F36 is #FBF0C9.
Preview on black and white
As #040F36 has 11% lightness, this color is dark, so it has more contrast with white.
#040F36 On White Background
#040F36
#040F36
Text Color
This is how text looks with this color.
#040F36 On Black Background
#040F36
#040F36
Text Color
This is how text looks with this color.
Transform color
4, 15, 54rgb(4, 15, 54)