In RGB color space, #040e8f hex color has a red value of 4, a green value of 14 and a blue value of 143.
In CMYK color space (used in color printing), #040e8f hex color is composed of 97.2% cyan, 90.21% magenta, 0% yellow and 43.92% black.
#040e8f color has a hue of 235.7 degrees, a saturation of 94.56% and a lightness of 28.8%.
#040e8f hex color contains mainly BLUE.
The closest web safe color of #040e8f is #000099
#040e8f hex color has a decimal value of 265871.
HEX | 040e8f | #040e8f |
---|---|---|
RGB | 4, 14, 143 | rgb(4, 14, 143) |
RGB Percent | 1.57, 5.49, 56.08 | rgb(1.57, 5.49, 56.08) |
CMYK | 97, 90, 0, 44 | |
HSL | 235.7°, 94.56, 28.8 | hsl(235.7, 94.56%, 28.8%) |
HSV | 235.7°, 97.2, 56.1 |
XYZ | 5.165, 2.323, 26.163 |
---|---|
Hunter Lab | 15.241, 33.818, -91.107 |
CIE-LAB | 17.098, 46.72, -67.272 |
CIE-LCH | 17.098, 81.904, 304.78 |
CIE-LUV | 97.2, 90.21, 0, 43.92 |
Web Safe | 000099 |
RGB percent of color #040e8f
CMYK percent of color #040e8f
Text with hexadecimal color #040e8f
This text has a font color of #040e8f
<p style="color:#040e8f">Text here</p>
#040e8f Background Color
This box has a background color of #040e8f
<div style="background-color:#040e8f">Text here</div>
#040e8f Border Color
This box has a border color of #040e8f
<div style="border: 4px solid #040e8f">Text here</div>
CSS codes
<p style="color:#040e8f">Text here</p>
<div style="background-color:#040e8f">Text here</div>
<div style="border: 4px solid #040e8f">Text here</div>
#040e8f Color on white background
This is how a font and box color of #040e8f will look
on a white background.
#040e8f Color on black background
This is how a font and box color of #040e8f hex color will look
on a black background.