In RGB color space, #042ea5 hex color has a red value of 4, a green value of 46 and a blue value of 165.
In CMYK color space (used in color printing), #042ea5 hex color is composed of 97.58% cyan, 72.12% magenta, 0% yellow and 35.29% black.
#042ea5 color has a hue of 224.3 degrees, a saturation of 95.27% and a lightness of 33.1%.
#042ea5 hex color contains mainly BLUE.
The closest web safe color of #042ea5 is #003399
#042ea5 hex color has a decimal value of 274085.
HEX | 042ea5 | #042ea5 |
---|---|---|
RGB | 4, 46, 165 | rgb(4, 46, 165) |
RGB Percent | 1.57, 18.04, 64.71 | rgb(1.57, 18.04, 64.71) |
CMYK | 98, 72, 0, 35 | |
HSL | 224.3°, 95.27, 33.1 | hsl(224.3, 95.27%, 33.1%) |
HSV | 224.3°, 97.6, 64.7 |
XYZ | 7.819, 4.696, 36.092 |
---|---|
Hunter Lab | 21.67, 26.483, -83.579 |
CIE-LAB | 25.851, 37.067, -66.258 |
CIE-LCH | 25.851, 75.922, 299.224 |
CIE-LUV | 97.58, 72.12, 0, 35.29 |
Web Safe | 003399 |
RGB percent of color #042ea5
CMYK percent of color #042ea5
Text with hexadecimal color #042ea5
This text has a font color of #042ea5
<p style="color:#042ea5">Text here</p>
#042ea5 Background Color
This box has a background color of #042ea5
<div style="background-color:#042ea5">Text here</div>
#042ea5 Border Color
This box has a border color of #042ea5
<div style="border: 4px solid #042ea5">Text here</div>
CSS codes
<p style="color:#042ea5">Text here</p>
<div style="background-color:#042ea5">Text here</div>
<div style="border: 4px solid #042ea5">Text here</div>
#042ea5 Color on white background
This is how a font and box color of #042ea5 will look
on a white background.
#042ea5 Color on black background
This is how a font and box color of #042ea5 hex color will look
on a black background.