In RGB color space, #040c4e hex color has a red value of 4, a green value of 12 and a blue value of 78.
In CMYK color space (used in color printing), #040c4e hex color is composed of 94.87% cyan, 84.62% magenta, 0% yellow and 69.41% black.
#040c4e color has a hue of 233.5 degrees, a saturation of 90.24% and a lightness of 16.1%.
#040c4e hex color contains mainly BLUE.
The closest web safe color of #040c4e is #000066
#040c4e hex color has a decimal value of 265294.
HEX | 040c4e | #040c4e |
---|---|---|
RGB | 4, 12, 78 | rgb(4, 12, 78) |
RGB Percent | 1.57, 4.71, 30.59 | rgb(1.57, 4.71, 30.59) |
CMYK | 95, 85, 0, 69 | |
HSL | 233.5°, 90.24, 16.1 | hsl(233.5, 90.24%, 16.1%) |
HSV | 233.5°, 94.9, 30.6 |
XYZ | 1.557, 0.839, 7.288 |
---|---|
Hunter Lab | 9.16, 14.313, -40.763 |
CIE-LAB | 7.579, 25.353, -40.552 |
CIE-LCH | 7.579, 47.825, 302.014 |
CIE-LUV | 94.87, 84.62, 0, 69.41 |
Web Safe | 000066 |
RGB percent of color #040c4e
CMYK percent of color #040c4e
Text with hexadecimal color #040c4e
This text has a font color of #040c4e
<p style="color:#040c4e">Text here</p>
#040c4e Background Color
This box has a background color of #040c4e
<div style="background-color:#040c4e">Text here</div>
#040c4e Border Color
This box has a border color of #040c4e
<div style="border: 4px solid #040c4e">Text here</div>
CSS codes
<p style="color:#040c4e">Text here</p>
<div style="background-color:#040c4e">Text here</div>
<div style="border: 4px solid #040c4e">Text here</div>
#040c4e Color on white background
This is how a font and box color of #040c4e will look
on a white background.
#040c4e Color on black background
This is how a font and box color of #040c4e hex color will look
on a black background.