In RGB color space, #040d87 hex color has a red value of 4, a green value of 13 and a blue value of 135.
In CMYK color space (used in color printing), #040d87 hex color is composed of 97.04% cyan, 90.37% magenta, 0% yellow and 47.06% black.
#040d87 color has a hue of 235.9 degrees, a saturation of 94.24% and a lightness of 27.3%.
#040d87 hex color contains mainly BLUE.
The closest web safe color of #040d87 is #000099
#040d87 hex color has a decimal value of 265607.
HEX | 040d87 | #040d87 |
---|---|---|
RGB | 4, 13, 135 | rgb(4, 13, 135) |
RGB Percent | 1.57, 5.1, 52.94 | rgb(1.57, 5.1, 52.94) |
CMYK | 97, 90, 0, 47 | |
HSL | 235.9°, 94.24, 27.3 | hsl(235.9, 94.24%, 27.3%) |
HSV | 235.9°, 97, 52.9 |
XYZ | 4.567, 2.063, 23.079 |
---|---|
Hunter Lab | 14.363, 31.622, -85.214 |
CIE-LAB | 15.814, 44.644, -64.395 |
CIE-LCH | 15.814, 78.357, 304.733 |
CIE-LUV | 97.04, 90.37, 0, 47.06 |
Web Safe | 000099 |
RGB percent of color #040d87
CMYK percent of color #040d87
Text with hexadecimal color #040d87
This text has a font color of #040d87
<p style="color:#040d87">Text here</p>
#040d87 Background Color
This box has a background color of #040d87
<div style="background-color:#040d87">Text here</div>
#040d87 Border Color
This box has a border color of #040d87
<div style="border: 4px solid #040d87">Text here</div>
CSS codes
<p style="color:#040d87">Text here</p>
<div style="background-color:#040d87">Text here</div>
<div style="border: 4px solid #040d87">Text here</div>
#040d87 Color on white background
This is how a font and box color of #040d87 will look
on a white background.
#040d87 Color on black background
This is how a font and box color of #040d87 hex color will look
on a black background.