In RGB color space, #040c4b hex color has a red value of 4, a green value of 12 and a blue value of 75.
In CMYK color space (used in color printing), #040c4b hex color is composed of 94.67% cyan, 84% magenta, 0% yellow and 70.59% black.
#040c4b color has a hue of 233.2 degrees, a saturation of 89.87% and a lightness of 15.5%.
#040c4b hex color contains mainly BLUE.
The closest web safe color of #040c4b is #000033
#040c4b hex color has a decimal value of 265291.
HEX | 040c4b | #040c4b |
---|---|---|
RGB | 4, 12, 75 | rgb(4, 12, 75) |
RGB Percent | 1.57, 4.71, 29.41 | rgb(1.57, 4.71, 29.41) |
CMYK | 95, 84, 0, 71 | |
HSL | 233.2°, 89.87, 15.5 | hsl(233.2, 89.87%, 15.5%) |
HSV | 233.2°, 94.7, 29.4 |
XYZ | 1.452, 0.797, 6.734 |
---|---|
Hunter Lab | 8.927, 13.409, -38.473 |
CIE-LAB | 7.199, 24.067, -39.094 |
CIE-LCH | 7.199, 45.908, 301.617 |
CIE-LUV | 94.67, 84, 0, 70.59 |
Web Safe | 000033 |
RGB percent of color #040c4b
CMYK percent of color #040c4b
Text with hexadecimal color #040c4b
This text has a font color of #040c4b
<p style="color:#040c4b">Text here</p>
#040c4b Background Color
This box has a background color of #040c4b
<div style="background-color:#040c4b">Text here</div>
#040c4b Border Color
This box has a border color of #040c4b
<div style="border: 4px solid #040c4b">Text here</div>
CSS codes
<p style="color:#040c4b">Text here</p>
<div style="background-color:#040c4b">Text here</div>
<div style="border: 4px solid #040c4b">Text here</div>
#040c4b Color on white background
This is how a font and box color of #040c4b will look
on a white background.
#040c4b Color on black background
This is how a font and box color of #040c4b hex color will look
on a black background.