In RGB color space, #042e8f hex color has a red value of 4, a green value of 46 and a blue value of 143.
In CMYK color space (used in color printing), #042e8f hex color is composed of 97.2% cyan, 67.83% magenta, 0% yellow and 43.92% black.
#042e8f color has a hue of 221.9 degrees, a saturation of 94.56% and a lightness of 28.8%.
#042e8f hex color contains mainly BLUE.
The closest web safe color of #042e8f is #003399
#042e8f hex color has a decimal value of 274063.
HEX | 042e8f | #042e8f |
---|---|---|
RGB | 4, 46, 143 | rgb(4, 46, 143) |
RGB Percent | 1.57, 18.04, 56.08 | rgb(1.57, 18.04, 56.08) |
CMYK | 97, 68, 0, 44 | |
HSL | 221.9°, 94.56, 28.8 | hsl(221.9, 94.56%, 28.8%) |
HSV | 221.9°, 97.2, 56.1 |
XYZ | 5.985, 3.963, 26.436 |
---|---|
Hunter Lab | 19.907, 18.827, -64.799 |
CIE-LAB | 23.549, 28.451, -56.582 |
CIE-LCH | 23.549, 63.332, 296.695 |
CIE-LUV | 97.2, 67.83, 0, 43.92 |
Web Safe | 003399 |
RGB percent of color #042e8f
CMYK percent of color #042e8f
Text with hexadecimal color #042e8f
This text has a font color of #042e8f
<p style="color:#042e8f">Text here</p>
#042e8f Background Color
This box has a background color of #042e8f
<div style="background-color:#042e8f">Text here</div>
#042e8f Border Color
This box has a border color of #042e8f
<div style="border: 4px solid #042e8f">Text here</div>
CSS codes
<p style="color:#042e8f">Text here</p>
<div style="background-color:#042e8f">Text here</div>
<div style="border: 4px solid #042e8f">Text here</div>
#042e8f Color on white background
This is how a font and box color of #042e8f will look
on a white background.
#042e8f Color on black background
This is how a font and box color of #042e8f hex color will look
on a black background.