In RGB color space, #040c85 hex color has a red value of 4, a green value of 12 and a blue value of 133.
In CMYK color space (used in color printing), #040c85 hex color is composed of 96.99% cyan, 90.98% magenta, 0% yellow and 47.84% black.
#040c85 color has a hue of 236.3 degrees, a saturation of 94.16% and a lightness of 26.9%.
#040c85 hex color contains mainly BLUE.
The closest web safe color of #040c85 is #000099
#040c85 hex color has a decimal value of 265349.
HEX | 040c85 | #040c85 |
---|---|---|
RGB | 4, 12, 133 | rgb(4, 12, 133) |
RGB Percent | 1.57, 4.71, 52.16 | rgb(1.57, 4.71, 52.16) |
CMYK | 97, 91, 0, 48 | |
HSL | 236.3°, 94.16, 26.9 | hsl(236.3, 94.16%, 26.9%) |
HSV | 236.3°, 97, 52.2 |
XYZ | 4.415, 1.982, 22.34 |
---|---|
Hunter Lab | 14.078, 31.341, -84.229 |
CIE-LAB | 15.392, 44.423, -63.836 |
CIE-LCH | 15.392, 77.772, 304.834 |
CIE-LUV | 96.99, 90.98, 0, 47.84 |
Web Safe | 000099 |
RGB percent of color #040c85
CMYK percent of color #040c85
Text with hexadecimal color #040c85
This text has a font color of #040c85
<p style="color:#040c85">Text here</p>
#040c85 Background Color
This box has a background color of #040c85
<div style="background-color:#040c85">Text here</div>
#040c85 Border Color
This box has a border color of #040c85
<div style="border: 4px solid #040c85">Text here</div>
CSS codes
<p style="color:#040c85">Text here</p>
<div style="background-color:#040c85">Text here</div>
<div style="border: 4px solid #040c85">Text here</div>
#040c85 Color on white background
This is how a font and box color of #040c85 will look
on a white background.
#040c85 Color on black background
This is how a font and box color of #040c85 hex color will look
on a black background.