In RGB color space, #040a8c hex color has a red value of 4, a green value of 10 and a blue value of 140.
In CMYK color space (used in color printing), #040a8c hex color is composed of 97.14% cyan, 92.86% magenta, 0% yellow and 45.1% black.
#040a8c color has a hue of 237.4 degrees, a saturation of 94.44% and a lightness of 28.2%.
#040a8c hex color contains mainly BLUE.
The closest web safe color of #040a8c is #000099
#040a8c hex color has a decimal value of 264844.
HEX | 040a8c | #040a8c |
---|---|---|
RGB | 4, 10, 140 | rgb(4, 10, 140) |
RGB Percent | 1.57, 3.92, 54.9 | rgb(1.57, 3.92, 54.9) |
CMYK | 97, 93, 0, 45 | |
HSL | 237.4°, 94.44, 28.2 | hsl(237.4, 94.44%, 28.2%) |
HSV | 237.4°, 97.1, 54.9 |
XYZ | 4.892, 2.136, 24.965 |
---|---|
Hunter Lab | 14.615, 34.172, -91.047 |
CIE-LAB | 16.185, 47.258, -66.919 |
CIE-LCH | 16.185, 81.924, 305.23 |
CIE-LUV | 97.14, 92.86, 0, 45.1 |
Web Safe | 000099 |
RGB percent of color #040a8c
CMYK percent of color #040a8c
Text with hexadecimal color #040a8c
This text has a font color of #040a8c
<p style="color:#040a8c">Text here</p>
#040a8c Background Color
This box has a background color of #040a8c
<div style="background-color:#040a8c">Text here</div>
#040a8c Border Color
This box has a border color of #040a8c
<div style="border: 4px solid #040a8c">Text here</div>
CSS codes
<p style="color:#040a8c">Text here</p>
<div style="background-color:#040a8c">Text here</div>
<div style="border: 4px solid #040a8c">Text here</div>
#040a8c Color on white background
This is how a font and box color of #040a8c will look
on a white background.
#040a8c Color on black background
This is how a font and box color of #040a8c hex color will look
on a black background.