In RGB color space, #040f40 hex color has a red value of 4, a green value of 15 and a blue value of 64.
In CMYK color space (used in color printing), #040f40 hex color is composed of 93.75% cyan, 76.56% magenta, 0% yellow and 74.9% black.
#040f40 color has a hue of 229 degrees, a saturation of 88.24% and a lightness of 13.3%.
#040f40 hex color contains mainly BLUE.
The closest web safe color of #040f40 is #000033
#040f40 hex color has a decimal value of 266048.
HEX | 040f40 | #040f40 |
---|---|---|
RGB | 4, 15, 64 | rgb(4, 15, 64) |
RGB Percent | 1.57, 5.88, 25.1 | rgb(1.57, 5.88, 25.1) |
CMYK | 94, 77, 0, 75 | |
HSL | 229°, 88.24, 13.3 | hsl(229, 88.24%, 13.3%) |
HSV | 229°, 93.8, 25.1 |
XYZ | 1.146, 0.738, 4.932 |
---|---|
Hunter Lab | 8.591, 8.778, -28.025 |
CIE-LAB | 6.666, 16.953, -32.214 |
CIE-LCH | 6.666, 36.403, 297.756 |
CIE-LUV | 93.75, 76.56, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040f40
CMYK percent of color #040f40
Text with hexadecimal color #040f40
This text has a font color of #040f40
<p style="color:#040f40">Text here</p>
#040f40 Background Color
This box has a background color of #040f40
<div style="background-color:#040f40">Text here</div>
#040f40 Border Color
This box has a border color of #040f40
<div style="border: 4px solid #040f40">Text here</div>
CSS codes
<p style="color:#040f40">Text here</p>
<div style="background-color:#040f40">Text here</div>
<div style="border: 4px solid #040f40">Text here</div>
#040f40 Color on white background
This is how a font and box color of #040f40 will look
on a white background.
#040f40 Color on black background
This is how a font and box color of #040f40 hex color will look
on a black background.