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