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