In RGB color space, #040d98 hex color has a red value of 4, a green value of 13 and a blue value of 152.
In CMYK color space (used in color printing), #040d98 hex color is composed of 97.37% cyan, 91.45% magenta, 0% yellow and 40.39% black.
#040d98 color has a hue of 236.4 degrees, a saturation of 94.87% and a lightness of 30.6%.
#040d98 hex color contains mainly BLUE.
The closest web safe color of #040d98 is #000099
#040d98 hex color has a decimal value of 265624.
HEX | 040d98 | #040d98 |
---|---|---|
RGB | 4, 13, 152 | rgb(4, 13, 152) |
RGB Percent | 1.57, 5.1, 59.61 | rgb(1.57, 5.1, 59.61) |
CMYK | 97, 91, 0, 40 | |
HSL | 236.4°, 94.87, 30.6 | hsl(236.4, 94.87%, 30.6%) |
HSV | 236.4°, 97.4, 59.6 |
XYZ | 5.861, 2.581, 29.895 |
---|---|
Hunter Lab | 16.065, 37.006, -99.082 |
CIE-LAB | 18.281, 49.774, -70.885 |
CIE-LCH | 18.281, 86.615, 305.076 |
CIE-LUV | 97.37, 91.45, 0, 40.39 |
Web Safe | 000099 |
RGB percent of color #040d98
CMYK percent of color #040d98
Text with hexadecimal color #040d98
This text has a font color of #040d98
<p style="color:#040d98">Text here</p>
#040d98 Background Color
This box has a background color of #040d98
<div style="background-color:#040d98">Text here</div>
#040d98 Border Color
This box has a border color of #040d98
<div style="border: 4px solid #040d98">Text here</div>
CSS codes
<p style="color:#040d98">Text here</p>
<div style="background-color:#040d98">Text here</div>
<div style="border: 4px solid #040d98">Text here</div>
#040d98 Color on white background
This is how a font and box color of #040d98 will look
on a white background.
#040d98 Color on black background
This is how a font and box color of #040d98 hex color will look
on a black background.