In RGB color space, #040c4a hex color has a red value of 4, a green value of 12 and a blue value of 74.
In CMYK color space (used in color printing), #040c4a hex color is composed of 94.59% cyan, 83.78% magenta, 0% yellow and 70.98% black.
#040c4a color has a hue of 233.1 degrees, a saturation of 89.74% and a lightness of 15.3%.
#040c4a hex color contains mainly BLUE.
The closest web safe color of #040c4a is #000033
#040c4a hex color has a decimal value of 265290.
HEX | 040c4a | #040c4a |
---|---|---|
RGB | 4, 12, 74 | rgb(4, 12, 74) |
RGB Percent | 1.57, 4.71, 29.02 | rgb(1.57, 4.71, 29.02) |
CMYK | 95, 84, 0, 71 | |
HSL | 233.1°, 89.74, 15.3 | hsl(233.1, 89.74%, 15.3%) |
HSV | 233.1°, 94.6, 29 |
XYZ | 1.418, 0.783, 6.555 |
---|---|
Hunter Lab | 8.849, 13.119, -37.727 |
CIE-LAB | 7.073, 23.636, -38.605 |
CIE-LCH | 7.073, 45.266, 301.477 |
CIE-LUV | 94.59, 83.78, 0, 70.98 |
Web Safe | 000033 |
RGB percent of color #040c4a
CMYK percent of color #040c4a
Text with hexadecimal color #040c4a
This text has a font color of #040c4a
<p style="color:#040c4a">Text here</p>
#040c4a Background Color
This box has a background color of #040c4a
<div style="background-color:#040c4a">Text here</div>
#040c4a Border Color
This box has a border color of #040c4a
<div style="border: 4px solid #040c4a">Text here</div>
CSS codes
<p style="color:#040c4a">Text here</p>
<div style="background-color:#040c4a">Text here</div>
<div style="border: 4px solid #040c4a">Text here</div>
#040c4a Color on white background
This is how a font and box color of #040c4a will look
on a white background.
#040c4a Color on black background
This is how a font and box color of #040c4a hex color will look
on a black background.