In RGB color space, #040d8c hex color has a red value of 4, a green value of 13 and a blue value of 140.
In CMYK color space (used in color printing), #040d8c hex color is composed of 97.14% cyan, 90.71% magenta, 0% yellow and 45.1% black.
#040d8c color has a hue of 236 degrees, a saturation of 94.44% and a lightness of 28.2%.
#040d8c hex color contains mainly BLUE.
The closest web safe color of #040d8c is #000099
#040d8c hex color has a decimal value of 265612.
HEX | 040d8c | #040d8c |
---|---|---|
RGB | 4, 13, 140 | rgb(4, 13, 140) |
RGB Percent | 1.57, 5.1, 54.9 | rgb(1.57, 5.1, 54.9) |
CMYK | 97, 91, 0, 45 | |
HSL | 236°, 94.44, 28.2 | hsl(236, 94.44%, 28.2%) |
HSV | 236°, 97.1, 54.9 |
XYZ | 4.928, 2.207, 24.977 |
---|---|
Hunter Lab | 14.856, 33.214, -89.284 |
CIE-LAB | 16.538, 46.193, -66.33 |
CIE-LCH | 16.538, 80.83, 304.854 |
CIE-LUV | 97.14, 90.71, 0, 45.1 |
Web Safe | 000099 |
RGB percent of color #040d8c
CMYK percent of color #040d8c
Text with hexadecimal color #040d8c
This text has a font color of #040d8c
<p style="color:#040d8c">Text here</p>
#040d8c Background Color
This box has a background color of #040d8c
<div style="background-color:#040d8c">Text here</div>
#040d8c Border Color
This box has a border color of #040d8c
<div style="border: 4px solid #040d8c">Text here</div>
CSS codes
<p style="color:#040d8c">Text here</p>
<div style="background-color:#040d8c">Text here</div>
<div style="border: 4px solid #040d8c">Text here</div>
#040d8c Color on white background
This is how a font and box color of #040d8c will look
on a white background.
#040d8c Color on black background
This is how a font and box color of #040d8c hex color will look
on a black background.