In RGB color space, #042e9b hex color has a red value of 4, a green value of 46 and a blue value of 155.
In CMYK color space (used in color printing), #042e9b hex color is composed of 97.42% cyan, 70.32% magenta, 0% yellow and 39.22% black.
#042e9b color has a hue of 223.3 degrees, a saturation of 94.97% and a lightness of 31.2%.
#042e9b hex color contains mainly BLUE.
The closest web safe color of #042e9b is #003399
#042e9b hex color has a decimal value of 274075.
HEX | 042e9b | #042e9b |
---|---|---|
RGB | 4, 46, 155 | rgb(4, 46, 155) |
RGB Percent | 1.57, 18.04, 60.78 | rgb(1.57, 18.04, 60.78) |
CMYK | 97, 70, 0, 39 | |
HSL | 223.3°, 94.97, 31.2 | hsl(223.3, 94.97%, 31.2%) |
HSV | 223.3°, 97.4, 60.8 |
XYZ | 6.943, 4.346, 31.483 |
---|---|
Hunter Lab | 20.847, 22.966, -74.946 |
CIE-LAB | 24.784, 33.22, -61.935 |
CIE-LCH | 24.784, 70.282, 298.208 |
CIE-LUV | 97.42, 70.32, 0, 39.22 |
Web Safe | 003399 |
RGB percent of color #042e9b
CMYK percent of color #042e9b
Text with hexadecimal color #042e9b
This text has a font color of #042e9b
<p style="color:#042e9b">Text here</p>
#042e9b Background Color
This box has a background color of #042e9b
<div style="background-color:#042e9b">Text here</div>
#042e9b Border Color
This box has a border color of #042e9b
<div style="border: 4px solid #042e9b">Text here</div>
CSS codes
<p style="color:#042e9b">Text here</p>
<div style="background-color:#042e9b">Text here</div>
<div style="border: 4px solid #042e9b">Text here</div>
#042e9b Color on white background
This is how a font and box color of #042e9b will look
on a white background.
#042e9b Color on black background
This is how a font and box color of #042e9b hex color will look
on a black background.