In RGB color space, #040ea7 hex color has a red value of 4, a green value of 14 and a blue value of 167.
In CMYK color space (used in color printing), #040ea7 hex color is composed of 97.6% cyan, 91.62% magenta, 0% yellow and 34.51% black.
#040ea7 color has a hue of 236.3 degrees, a saturation of 95.32% and a lightness of 33.5%.
#040ea7 hex color contains mainly BLUE.
The closest web safe color of #040ea7 is #000099
#040ea7 hex color has a decimal value of 265895.
HEX | 040ea7 | #040ea7 |
---|---|---|
RGB | 4, 14, 167 | rgb(4, 14, 167) |
RGB Percent | 1.57, 5.49, 65.49 | rgb(1.57, 5.49, 65.49) |
CMYK | 98, 92, 0, 35 | |
HSL | 236.3°, 95.32, 33.5 | hsl(236.3, 95.32%, 33.5%) |
HSV | 236.3°, 97.6, 65.5 |
XYZ | 7.182, 3.13, 36.785 |
---|---|
Hunter Lab | 17.692, 41.502, -110.892 |
CIE-LAB | 20.557, 53.81, -76.265 |
CIE-LCH | 20.557, 93.337, 305.205 |
CIE-LUV | 97.6, 91.62, 0, 34.51 |
Web Safe | 000099 |
RGB percent of color #040ea7
CMYK percent of color #040ea7
Text with hexadecimal color #040ea7
This text has a font color of #040ea7
<p style="color:#040ea7">Text here</p>
#040ea7 Background Color
This box has a background color of #040ea7
<div style="background-color:#040ea7">Text here</div>
#040ea7 Border Color
This box has a border color of #040ea7
<div style="border: 4px solid #040ea7">Text here</div>
CSS codes
<p style="color:#040ea7">Text here</p>
<div style="background-color:#040ea7">Text here</div>
<div style="border: 4px solid #040ea7">Text here</div>
#040ea7 Color on white background
This is how a font and box color of #040ea7 will look
on a white background.
#040ea7 Color on black background
This is how a font and box color of #040ea7 hex color will look
on a black background.