In RGB color space, #040e97 hex color has a red value of 4, a green value of 14 and a blue value of 151.
In CMYK color space (used in color printing), #040e97 hex color is composed of 97.35% cyan, 90.73% magenta, 0% yellow and 40.78% black.
#040e97 color has a hue of 235.9 degrees, a saturation of 94.84% and a lightness of 30.4%.
#040e97 hex color contains mainly BLUE.
The closest web safe color of #040e97 is #000099
#040e97 hex color has a decimal value of 265879.
HEX | 040e97 | #040e97 |
---|---|---|
RGB | 4, 14, 151 | rgb(4, 14, 151) |
RGB Percent | 1.57, 5.49, 59.22 | rgb(1.57, 5.49, 59.22) |
CMYK | 97, 91, 0, 41 | |
HSL | 235.9°, 94.84, 30.4 | hsl(235.9, 94.84%, 30.4%) |
HSV | 235.9°, 97.4, 59.2 |
XYZ | 5.793, 2.574, 29.47 |
---|---|
Hunter Lab | 16.044, 36.376, -97.677 |
CIE-LAB | 18.25, 49.14, -70.319 |
CIE-LCH | 18.25, 85.788, 304.946 |
CIE-LUV | 97.35, 90.73, 0, 40.78 |
Web Safe | 000099 |
RGB percent of color #040e97
CMYK percent of color #040e97
Text with hexadecimal color #040e97
This text has a font color of #040e97
<p style="color:#040e97">Text here</p>
#040e97 Background Color
This box has a background color of #040e97
<div style="background-color:#040e97">Text here</div>
#040e97 Border Color
This box has a border color of #040e97
<div style="border: 4px solid #040e97">Text here</div>
CSS codes
<p style="color:#040e97">Text here</p>
<div style="background-color:#040e97">Text here</div>
<div style="border: 4px solid #040e97">Text here</div>
#040e97 Color on white background
This is how a font and box color of #040e97 will look
on a white background.
#040e97 Color on black background
This is how a font and box color of #040e97 hex color will look
on a black background.