In RGB color space, #042e8a hex color has a red value of 4, a green value of 46 and a blue value of 138.
In CMYK color space (used in color printing), #042e8a hex color is composed of 97.1% cyan, 66.67% magenta, 0% yellow and 45.88% black.
#042e8a color has a hue of 221.2 degrees, a saturation of 94.37% and a lightness of 27.8%.
#042e8a hex color contains mainly BLUE.
The closest web safe color of #042e8a is #003399
#042e8a hex color has a decimal value of 274058.
HEX | 042e8a | #042e8a |
---|---|---|
RGB | 4, 46, 138 | rgb(4, 46, 138) |
RGB Percent | 1.57, 18.04, 54.12 | rgb(1.57, 18.04, 54.12) |
CMYK | 97, 67, 0, 46 | |
HSL | 221.2°, 94.37, 27.8 | hsl(221.2, 94.37%, 27.8%) |
HSV | 221.2°, 97.1, 54.1 |
XYZ | 5.615, 3.815, 24.485 |
---|---|
Hunter Lab | 19.532, 17.134, -60.652 |
CIE-LAB | 23.05, 26.414, -54.294 |
CIE-LCH | 23.05, 60.378, 295.943 |
CIE-LUV | 97.1, 66.67, 0, 45.88 |
Web Safe | 003399 |
RGB percent of color #042e8a
CMYK percent of color #042e8a
Text with hexadecimal color #042e8a
This text has a font color of #042e8a
<p style="color:#042e8a">Text here</p>
#042e8a Background Color
This box has a background color of #042e8a
<div style="background-color:#042e8a">Text here</div>
#042e8a Border Color
This box has a border color of #042e8a
<div style="border: 4px solid #042e8a">Text here</div>
CSS codes
<p style="color:#042e8a">Text here</p>
<div style="background-color:#042e8a">Text here</div>
<div style="border: 4px solid #042e8a">Text here</div>
#042e8a Color on white background
This is how a font and box color of #042e8a will look
on a white background.
#042e8a Color on black background
This is how a font and box color of #042e8a hex color will look
on a black background.