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