In RGB color space, #040c27 hex color has a red value of 4, a green value of 12 and a blue value of 39.
In CMYK color space (used in color printing), #040c27 hex color is composed of 89.74% cyan, 69.23% magenta, 0% yellow and 84.71% black.
#040c27 color has a hue of 226.3 degrees, a saturation of 81.4% and a lightness of 8.4%.
#040c27 hex color contains mainly BLUE.
The closest web safe color of #040c27 is #000033
#040c27 hex color has a decimal value of 265255.
HEX | 040c27 | #040c27 |
---|---|---|
RGB | 4, 12, 39 | rgb(4, 12, 39) |
RGB Percent | 1.57, 4.71, 15.29 | rgb(1.57, 4.71, 15.29) |
CMYK | 90, 69, 0, 85 | |
HSL | 226.3°, 81.4, 8.4 | hsl(226.3, 81.4%, 8.4%) |
HSV | 226.3°, 89.7, 15.3 |
XYZ | 0.548, 0.435, 1.975 |
---|---|
Hunter Lab | 6.595, 3.289, -13.137 |
CIE-LAB | 3.929, 5.512, -18.188 |
CIE-LCH | 3.929, 19.005, 286.86 |
CIE-LUV | 89.74, 69.23, 0, 84.71 |
Web Safe | 000033 |
RGB percent of color #040c27
CMYK percent of color #040c27
Text with hexadecimal color #040c27
This text has a font color of #040c27
<p style="color:#040c27">Text here</p>
#040c27 Background Color
This box has a background color of #040c27
<div style="background-color:#040c27">Text here</div>
#040c27 Border Color
This box has a border color of #040c27
<div style="border: 4px solid #040c27">Text here</div>
CSS codes
<p style="color:#040c27">Text here</p>
<div style="background-color:#040c27">Text here</div>
<div style="border: 4px solid #040c27">Text here</div>
#040c27 Color on white background
This is how a font and box color of #040c27 will look
on a white background.
#040c27 Color on black background
This is how a font and box color of #040c27 hex color will look
on a black background.