In RGB color space, #040a87 hex color has a red value of 4, a green value of 10 and a blue value of 135.
In CMYK color space (used in color printing), #040a87 hex color is composed of 97.04% cyan, 92.59% magenta, 0% yellow and 47.06% black.
#040a87 color has a hue of 237.3 degrees, a saturation of 94.24% and a lightness of 27.3%.
#040a87 hex color contains mainly BLUE.
The closest web safe color of #040a87 is #000099
#040a87 hex color has a decimal value of 264839.
HEX | 040a87 | #040a87 |
---|---|---|
RGB | 4, 10, 135 | rgb(4, 10, 135) |
RGB Percent | 1.57, 3.92, 52.94 | rgb(1.57, 3.92, 52.94) |
CMYK | 97, 93, 0, 47 | |
HSL | 237.3°, 94.24, 27.3 | hsl(237.3, 94.24%, 27.3%) |
HSV | 237.3°, 97, 52.9 |
XYZ | 4.532, 1.992, 23.067 |
---|---|
Hunter Lab | 14.114, 32.618, -87.021 |
CIE-LAB | 15.445, 45.77, -65.011 |
CIE-LCH | 15.445, 79.507, 305.147 |
CIE-LUV | 97.04, 92.59, 0, 47.06 |
Web Safe | 000099 |
RGB percent of color #040a87
CMYK percent of color #040a87
Text with hexadecimal color #040a87
This text has a font color of #040a87
<p style="color:#040a87">Text here</p>
#040a87 Background Color
This box has a background color of #040a87
<div style="background-color:#040a87">Text here</div>
#040a87 Border Color
This box has a border color of #040a87
<div style="border: 4px solid #040a87">Text here</div>
CSS codes
<p style="color:#040a87">Text here</p>
<div style="background-color:#040a87">Text here</div>
<div style="border: 4px solid #040a87">Text here</div>
#040a87 Color on white background
This is how a font and box color of #040a87 will look
on a white background.
#040a87 Color on black background
This is how a font and box color of #040a87 hex color will look
on a black background.