In RGB color space, #042ea7 hex color has a red value of 4, a green value of 46 and a blue value of 167.
In CMYK color space (used in color printing), #042ea7 hex color is composed of 97.6% cyan, 72.46% magenta, 0% yellow and 34.51% black.
#042ea7 color has a hue of 224.5 degrees, a saturation of 95.32% and a lightness of 33.5%.
#042ea7 hex color contains mainly BLUE.
The closest web safe color of #042ea7 is #003399
#042ea7 hex color has a decimal value of 274087.
HEX | 042ea7 | #042ea7 |
---|---|---|
RGB | 4, 46, 167 | rgb(4, 46, 167) |
RGB Percent | 1.57, 18.04, 65.49 | rgb(1.57, 18.04, 65.49) |
CMYK | 98, 72, 0, 35 | |
HSL | 224.5°, 95.32, 33.5 | hsl(224.5, 95.32%, 33.5%) |
HSV | 224.5°, 97.6, 65.5 |
XYZ | 8.002, 4.77, 37.058 |
---|---|
Hunter Lab | 21.84, 27.179, -85.313 |
CIE-LAB | 26.069, 37.808, -67.105 |
CIE-LCH | 26.069, 77.023, 299.398 |
CIE-LUV | 97.6, 72.46, 0, 34.51 |
Web Safe | 003399 |
RGB percent of color #042ea7
CMYK percent of color #042ea7
Text with hexadecimal color #042ea7
This text has a font color of #042ea7
<p style="color:#042ea7">Text here</p>
#042ea7 Background Color
This box has a background color of #042ea7
<div style="background-color:#042ea7">Text here</div>
#042ea7 Border Color
This box has a border color of #042ea7
<div style="border: 4px solid #042ea7">Text here</div>
CSS codes
<p style="color:#042ea7">Text here</p>
<div style="background-color:#042ea7">Text here</div>
<div style="border: 4px solid #042ea7">Text here</div>
#042ea7 Color on white background
This is how a font and box color of #042ea7 will look
on a white background.
#042ea7 Color on black background
This is how a font and box color of #042ea7 hex color will look
on a black background.