In RGB color space, #040c3a hex color has a red value of 4, a green value of 12 and a blue value of 58.
In CMYK color space (used in color printing), #040c3a hex color is composed of 93.1% cyan, 79.31% magenta, 0% yellow and 77.25% black.
#040c3a color has a hue of 231.1 degrees, a saturation of 87.1% and a lightness of 12.2%.
#040c3a hex color contains mainly BLUE.
The closest web safe color of #040c3a is #000033
#040c3a hex color has a decimal value of 265274.
HEX | 040c3a | #040c3a |
---|---|---|
RGB | 4, 12, 58 | rgb(4, 12, 58) |
RGB Percent | 1.57, 4.71, 22.75 | rgb(1.57, 4.71, 22.75) |
CMYK | 93, 79, 0, 77 | |
HSL | 231.1°, 87.1, 12.2 | hsl(231.1, 87.1%, 12.2%) |
HSV | 231.1°, 93.1, 22.7 |
XYZ | 0.945, 0.594, 4.068 |
---|---|
Hunter Lab | 7.707, 8.399, -25.9 |
CIE-LAB | 5.366, 15.422, -30.023 |
CIE-LCH | 5.366, 33.752, 297.188 |
CIE-LUV | 93.1, 79.31, 0, 77.25 |
Web Safe | 000033 |
RGB percent of color #040c3a
CMYK percent of color #040c3a
Text with hexadecimal color #040c3a
This text has a font color of #040c3a
<p style="color:#040c3a">Text here</p>
#040c3a Background Color
This box has a background color of #040c3a
<div style="background-color:#040c3a">Text here</div>
#040c3a Border Color
This box has a border color of #040c3a
<div style="border: 4px solid #040c3a">Text here</div>
CSS codes
<p style="color:#040c3a">Text here</p>
<div style="background-color:#040c3a">Text here</div>
<div style="border: 4px solid #040c3a">Text here</div>
#040c3a Color on white background
This is how a font and box color of #040c3a will look
on a white background.
#040c3a Color on black background
This is how a font and box color of #040c3a hex color will look
on a black background.