In RGB color space, #040e7f hex color has a red value of 4, a green value of 14 and a blue value of 127.
In CMYK color space (used in color printing), #040e7f hex color is composed of 96.85% cyan, 88.98% magenta, 0% yellow and 50.2% black.
#040e7f color has a hue of 235.1 degrees, a saturation of 93.89% and a lightness of 25.7%.
#040e7f hex color contains mainly BLUE.
The closest web safe color of #040e7f is #000066
#040e7f hex color has a decimal value of 265855.
HEX | 040e7f | #040e7f |
---|---|---|
RGB | 4, 14, 127 | rgb(4, 14, 127) |
RGB Percent | 1.57, 5.49, 49.8 | rgb(1.57, 5.49, 49.8) |
CMYK | 97, 89, 0, 50 | |
HSL | 235.1°, 93.89, 25.7 | hsl(235.1, 93.89%, 25.7%) |
HSV | 235.1°, 96.9, 49.8 |
XYZ | 4.038, 1.872, 20.227 |
---|---|
Hunter Lab | 13.682, 28.737, -78.074 |
CIE-LAB | 14.801, 41.705, -61.013 |
CIE-LCH | 14.801, 73.905, 304.354 |
CIE-LUV | 96.85, 88.98, 0, 50.2 |
Web Safe | 000066 |
RGB percent of color #040e7f
CMYK percent of color #040e7f
Text with hexadecimal color #040e7f
This text has a font color of #040e7f
<p style="color:#040e7f">Text here</p>
#040e7f Background Color
This box has a background color of #040e7f
<div style="background-color:#040e7f">Text here</div>
#040e7f Border Color
This box has a border color of #040e7f
<div style="border: 4px solid #040e7f">Text here</div>
CSS codes
<p style="color:#040e7f">Text here</p>
<div style="background-color:#040e7f">Text here</div>
<div style="border: 4px solid #040e7f">Text here</div>
#040e7f Color on white background
This is how a font and box color of #040e7f will look
on a white background.
#040e7f Color on black background
This is how a font and box color of #040e7f hex color will look
on a black background.