In RGB color space, #040c9b hex color has a red value of 4, a green value of 12 and a blue value of 155.
In CMYK color space (used in color printing), #040c9b hex color is composed of 97.42% cyan, 92.26% magenta, 0% yellow and 39.22% black.
#040c9b color has a hue of 236.8 degrees, a saturation of 94.97% and a lightness of 31.2%.
#040c9b hex color contains mainly BLUE.
The closest web safe color of #040c9b is #000099
#040c9b hex color has a decimal value of 265371.
HEX | 040c9b | #040c9b |
---|---|---|
RGB | 4, 12, 155 | rgb(4, 12, 155) |
RGB Percent | 1.57, 4.71, 60.78 | rgb(1.57, 4.71, 60.78) |
CMYK | 97, 92, 0, 39 | |
HSL | 236.8°, 94.97, 31.2 | hsl(236.8, 94.97%, 31.2%) |
HSV | 236.8°, 97.4, 60.8 |
XYZ | 6.098, 2.655, 31.201 |
---|---|
Hunter Lab | 16.294, 38.288, -102.126 |
CIE-LAB | 18.606, 51.002, -72.191 |
CIE-LCH | 18.606, 88.39, 305.241 |
CIE-LUV | 97.42, 92.26, 0, 39.22 |
Web Safe | 000099 |
RGB percent of color #040c9b
CMYK percent of color #040c9b
Text with hexadecimal color #040c9b
This text has a font color of #040c9b
<p style="color:#040c9b">Text here</p>
#040c9b Background Color
This box has a background color of #040c9b
<div style="background-color:#040c9b">Text here</div>
#040c9b Border Color
This box has a border color of #040c9b
<div style="border: 4px solid #040c9b">Text here</div>
CSS codes
<p style="color:#040c9b">Text here</p>
<div style="background-color:#040c9b">Text here</div>
<div style="border: 4px solid #040c9b">Text here</div>
#040c9b Color on white background
This is how a font and box color of #040c9b will look
on a white background.
#040c9b Color on black background
This is how a font and box color of #040c9b hex color will look
on a black background.