In RGB color space, #040c40 hex color has a red value of 4, a green value of 12 and a blue value of 64.
In CMYK color space (used in color printing), #040c40 hex color is composed of 93.75% cyan, 81.25% magenta, 0% yellow and 74.9% black.
#040c40 color has a hue of 232 degrees, a saturation of 88.24% and a lightness of 13.3%.
#040c40 hex color contains mainly BLUE.
The closest web safe color of #040c40 is #000033
#040c40 hex color has a decimal value of 265280.
HEX | 040c40 | #040c40 |
---|---|---|
RGB | 4, 12, 64 | rgb(4, 12, 64) |
RGB Percent | 1.57, 4.71, 25.1 | rgb(1.57, 4.71, 25.1) |
CMYK | 94, 81, 0, 75 | |
HSL | 232°, 88.24, 13.3 | hsl(232, 88.24%, 13.3%) |
HSV | 232°, 93.8, 25.1 |
XYZ | 1.107, 0.659, 4.919 |
---|---|
Hunter Lab | 8.118, 10.135, -30.244 |
CIE-LAB | 5.953, 18.714, -33.382 |
CIE-LCH | 5.953, 38.27, 299.275 |
CIE-LUV | 93.75, 81.25, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040c40
CMYK percent of color #040c40
Text with hexadecimal color #040c40
This text has a font color of #040c40
<p style="color:#040c40">Text here</p>
#040c40 Background Color
This box has a background color of #040c40
<div style="background-color:#040c40">Text here</div>
#040c40 Border Color
This box has a border color of #040c40
<div style="border: 4px solid #040c40">Text here</div>
CSS codes
<p style="color:#040c40">Text here</p>
<div style="background-color:#040c40">Text here</div>
<div style="border: 4px solid #040c40">Text here</div>
#040c40 Color on white background
This is how a font and box color of #040c40 will look
on a white background.
#040c40 Color on black background
This is how a font and box color of #040c40 hex color will look
on a black background.