In RGB color space, #040c38 hex color has a red value of 4, a green value of 12 and a blue value of 56.
In CMYK color space (used in color printing), #040c38 hex color is composed of 92.86% cyan, 78.57% magenta, 0% yellow and 78.04% black.
#040c38 color has a hue of 230.8 degrees, a saturation of 86.67% and a lightness of 11.8%.
#040c38 hex color contains mainly BLUE.
The closest web safe color of #040c38 is #000033
#040c38 hex color has a decimal value of 265272.
HEX | 040c38 | #040c38 |
---|---|---|
RGB | 4, 12, 56 | rgb(4, 12, 56) |
RGB Percent | 1.57, 4.71, 21.96 | rgb(1.57, 4.71, 21.96) |
CMYK | 93, 79, 0, 78 | |
HSL | 230.8°, 86.67, 11.8 | hsl(230.8, 86.67%, 11.8%) |
HSV | 230.8°, 92.9, 22 |
XYZ | 0.895, 0.574, 3.805 |
---|---|
Hunter Lab | 7.576, 7.828, -24.474 |
CIE-LAB | 5.185, 14.27, -28.862 |
CIE-LCH | 5.185, 32.197, 296.309 |
CIE-LUV | 92.86, 78.57, 0, 78.04 |
Web Safe | 000033 |
RGB percent of color #040c38
CMYK percent of color #040c38
Text with hexadecimal color #040c38
This text has a font color of #040c38
<p style="color:#040c38">Text here</p>
#040c38 Background Color
This box has a background color of #040c38
<div style="background-color:#040c38">Text here</div>
#040c38 Border Color
This box has a border color of #040c38
<div style="border: 4px solid #040c38">Text here</div>
CSS codes
<p style="color:#040c38">Text here</p>
<div style="background-color:#040c38">Text here</div>
<div style="border: 4px solid #040c38">Text here</div>
#040c38 Color on white background
This is how a font and box color of #040c38 will look
on a white background.
#040c38 Color on black background
This is how a font and box color of #040c38 hex color will look
on a black background.