In RGB color space, #040c3e hex color has a red value of 4, a green value of 12 and a blue value of 62.
In CMYK color space (used in color printing), #040c3e hex color is composed of 93.55% cyan, 80.65% magenta, 0% yellow and 75.69% black.
#040c3e color has a hue of 231.7 degrees, a saturation of 87.88% and a lightness of 12.9%.
#040c3e hex color contains mainly BLUE.
The closest web safe color of #040c3e is #000033
#040c3e hex color has a decimal value of 265278.
HEX | 040c3e | #040c3e |
---|---|---|
RGB | 4, 12, 62 | rgb(4, 12, 62) |
RGB Percent | 1.57, 4.71, 24.31 | rgb(1.57, 4.71, 24.31) |
CMYK | 94, 81, 0, 76 | |
HSL | 231.7°, 87.88, 12.9 | hsl(231.7, 87.88%, 12.9%) |
HSV | 231.7°, 93.5, 24.3 |
XYZ | 1.051, 0.637, 4.625 |
---|---|
Hunter Lab | 7.981, 9.538, -28.771 |
CIE-LAB | 5.754, 17.626, -32.276 |
CIE-LCH | 5.754, 36.775, 298.639 |
CIE-LUV | 93.55, 80.65, 0, 75.69 |
Web Safe | 000033 |
RGB percent of color #040c3e
CMYK percent of color #040c3e
Text with hexadecimal color #040c3e
This text has a font color of #040c3e
<p style="color:#040c3e">Text here</p>
#040c3e Background Color
This box has a background color of #040c3e
<div style="background-color:#040c3e">Text here</div>
#040c3e Border Color
This box has a border color of #040c3e
<div style="border: 4px solid #040c3e">Text here</div>
CSS codes
<p style="color:#040c3e">Text here</p>
<div style="background-color:#040c3e">Text here</div>
<div style="border: 4px solid #040c3e">Text here</div>
#040c3e Color on white background
This is how a font and box color of #040c3e will look
on a white background.
#040c3e Color on black background
This is how a font and box color of #040c3e hex color will look
on a black background.