In RGB color space, #040f42 hex color has a red value of 4, a green value of 15 and a blue value of 66.
In CMYK color space (used in color printing), #040f42 hex color is composed of 93.94% cyan, 77.27% magenta, 0% yellow and 74.12% black.
#040f42 color has a hue of 229.4 degrees, a saturation of 88.57% and a lightness of 13.7%.
#040f42 hex color contains mainly BLUE.
The closest web safe color of #040f42 is #000033
#040f42 hex color has a decimal value of 266050.
HEX | 040f42 | #040f42 |
---|---|---|
RGB | 4, 15, 66 | rgb(4, 15, 66) |
RGB Percent | 1.57, 5.88, 25.88 | rgb(1.57, 5.88, 25.88) |
CMYK | 94, 77, 0, 74 | |
HSL | 229.4°, 88.57, 13.7 | hsl(229.4, 88.57%, 13.7%) |
HSV | 229.4°, 93.9, 25.9 |
XYZ | 1.204, 0.761, 5.238 |
---|---|
Hunter Lab | 8.724, 9.37, -29.494 |
CIE-LAB | 6.874, 17.96, -33.301 |
CIE-LCH | 6.874, 37.835, 298.339 |
CIE-LUV | 93.94, 77.27, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040f42
CMYK percent of color #040f42
Text with hexadecimal color #040f42
This text has a font color of #040f42
<p style="color:#040f42">Text here</p>
#040f42 Background Color
This box has a background color of #040f42
<div style="background-color:#040f42">Text here</div>
#040f42 Border Color
This box has a border color of #040f42
<div style="border: 4px solid #040f42">Text here</div>
CSS codes
<p style="color:#040f42">Text here</p>
<div style="background-color:#040f42">Text here</div>
<div style="border: 4px solid #040f42">Text here</div>
#040f42 Color on white background
This is how a font and box color of #040f42 will look
on a white background.
#040f42 Color on black background
This is how a font and box color of #040f42 hex color will look
on a black background.