In RGB color space, #040c8d hex color has a red value of 4, a green value of 12 and a blue value of 141.
In CMYK color space (used in color printing), #040c8d hex color is composed of 97.16% cyan, 91.49% magenta, 0% yellow and 44.71% black.
#040c8d color has a hue of 236.5 degrees, a saturation of 94.48% and a lightness of 28.4%.
#040c8d hex color contains mainly BLUE.
The closest web safe color of #040c8d is #000099
#040c8d hex color has a decimal value of 265357.
HEX | 040c8d | #040c8d |
---|---|---|
RGB | 4, 12, 141 | rgb(4, 12, 141) |
RGB Percent | 1.57, 4.71, 55.29 | rgb(1.57, 4.71, 55.29) |
CMYK | 97, 91, 0, 45 | |
HSL | 236.5°, 94.48, 28.4 | hsl(236.5, 94.48%, 28.4%) |
HSV | 236.5°, 97.2, 55.3 |
XYZ | 4.989, 2.212, 25.363 |
---|---|
Hunter Lab | 14.873, 33.849, -90.698 |
CIE-LAB | 16.563, 46.853, -66.916 |
CIE-LCH | 16.563, 81.688, 304.999 |
CIE-LUV | 97.16, 91.49, 0, 44.71 |
Web Safe | 000099 |
RGB percent of color #040c8d
CMYK percent of color #040c8d
Text with hexadecimal color #040c8d
This text has a font color of #040c8d
<p style="color:#040c8d">Text here</p>
#040c8d Background Color
This box has a background color of #040c8d
<div style="background-color:#040c8d">Text here</div>
#040c8d Border Color
This box has a border color of #040c8d
<div style="border: 4px solid #040c8d">Text here</div>
CSS codes
<p style="color:#040c8d">Text here</p>
<div style="background-color:#040c8d">Text here</div>
<div style="border: 4px solid #040c8d">Text here</div>
#040c8d Color on white background
This is how a font and box color of #040c8d will look
on a white background.
#040c8d Color on black background
This is how a font and box color of #040c8d hex color will look
on a black background.