In RGB color space, #042e8b hex color has a red value of 4, a green value of 46 and a blue value of 139.
In CMYK color space (used in color printing), #042e8b hex color is composed of 97.12% cyan, 66.91% magenta, 0% yellow and 45.49% black.
#042e8b color has a hue of 221.3 degrees, a saturation of 94.41% and a lightness of 28%.
#042e8b hex color contains mainly BLUE.
The closest web safe color of #042e8b is #003399
#042e8b hex color has a decimal value of 274059.
HEX | 042e8b | #042e8b |
---|---|---|
RGB | 4, 46, 139 | rgb(4, 46, 139) |
RGB Percent | 1.57, 18.04, 54.51 | rgb(1.57, 18.04, 54.51) |
CMYK | 97, 67, 0, 45 | |
HSL | 221.3°, 94.41, 28 | hsl(221.3, 94.41%, 28%) |
HSV | 221.3°, 97.1, 54.5 |
XYZ | 5.687, 3.844, 24.868 |
---|---|
Hunter Lab | 19.606, 17.465, -61.478 |
CIE-LAB | 23.149, 26.817, -54.754 |
CIE-LCH | 23.149, 60.968, 296.094 |
CIE-LUV | 97.12, 66.91, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #042e8b
CMYK percent of color #042e8b
Text with hexadecimal color #042e8b
This text has a font color of #042e8b
<p style="color:#042e8b">Text here</p>
#042e8b Background Color
This box has a background color of #042e8b
<div style="background-color:#042e8b">Text here</div>
#042e8b Border Color
This box has a border color of #042e8b
<div style="border: 4px solid #042e8b">Text here</div>
CSS codes
<p style="color:#042e8b">Text here</p>
<div style="background-color:#042e8b">Text here</div>
<div style="border: 4px solid #042e8b">Text here</div>
#042e8b Color on white background
This is how a font and box color of #042e8b will look
on a white background.
#042e8b Color on black background
This is how a font and box color of #042e8b hex color will look
on a black background.