In RGB color space, #040d42 hex color has a red value of 4, a green value of 13 and a blue value of 66.
In CMYK color space (used in color printing), #040d42 hex color is composed of 93.94% cyan, 80.3% magenta, 0% yellow and 74.12% black.
#040d42 color has a hue of 231.3 degrees, a saturation of 88.57% and a lightness of 13.7%.
#040d42 hex color contains mainly BLUE.
The closest web safe color of #040d42 is #000033
#040d42 hex color has a decimal value of 265538.
HEX | 040d42 | #040d42 |
---|---|---|
RGB | 4, 13, 66 | rgb(4, 13, 66) |
RGB Percent | 1.57, 5.1, 25.88 | rgb(1.57, 5.1, 25.88) |
CMYK | 94, 80, 0, 74 | |
HSL | 231.3°, 88.57, 13.7 | hsl(231.3, 88.57%, 13.7%) |
HSV | 231.3°, 93.9, 25.9 |
XYZ | 1.177, 0.707, 5.229 |
---|---|
Hunter Lab | 8.408, 10.272, -30.986 |
CIE-LAB | 6.386, 19.185, -34.1 |
CIE-LCH | 6.386, 39.126, 299.363 |
CIE-LUV | 93.94, 80.3, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040d42
CMYK percent of color #040d42
Text with hexadecimal color #040d42
This text has a font color of #040d42
<p style="color:#040d42">Text here</p>
#040d42 Background Color
This box has a background color of #040d42
<div style="background-color:#040d42">Text here</div>
#040d42 Border Color
This box has a border color of #040d42
<div style="border: 4px solid #040d42">Text here</div>
CSS codes
<p style="color:#040d42">Text here</p>
<div style="background-color:#040d42">Text here</div>
<div style="border: 4px solid #040d42">Text here</div>
#040d42 Color on white background
This is how a font and box color of #040d42 will look
on a white background.
#040d42 Color on black background
This is how a font and box color of #040d42 hex color will look
on a black background.