In RGB color space, #042f9d hex color has a red value of 4, a green value of 47 and a blue value of 157.
In CMYK color space (used in color printing), #042f9d hex color is composed of 97.45% cyan, 70.06% magenta, 0% yellow and 38.43% black.
#042f9d color has a hue of 223.1 degrees, a saturation of 95.03% and a lightness of 31.6%.
#042f9d hex color contains mainly BLUE.
The closest web safe color of #042f9d is #003399
#042f9d hex color has a decimal value of 274333.
HEX | 042f9d | #042f9d |
---|---|---|
RGB | 4, 47, 157 | rgb(4, 47, 157) |
RGB Percent | 1.57, 18.43, 61.57 | rgb(1.57, 18.43, 61.57) |
CMYK | 97, 70, 0, 38 | |
HSL | 223.1°, 95.03, 31.6 | hsl(223.1, 95.03%, 31.6%) |
HSV | 223.1°, 97.5, 61.6 |
XYZ | 7.152, 4.493, 32.389 |
---|---|
Hunter Lab | 21.197, 23.134, -75.759 |
CIE-LAB | 25.239, 33.337, -62.408 |
CIE-LCH | 25.239, 70.754, 298.11 |
CIE-LUV | 97.45, 70.06, 0, 38.43 |
Web Safe | 003399 |
RGB percent of color #042f9d
CMYK percent of color #042f9d
Text with hexadecimal color #042f9d
This text has a font color of #042f9d
<p style="color:#042f9d">Text here</p>
#042f9d Background Color
This box has a background color of #042f9d
<div style="background-color:#042f9d">Text here</div>
#042f9d Border Color
This box has a border color of #042f9d
<div style="border: 4px solid #042f9d">Text here</div>
CSS codes
<p style="color:#042f9d">Text here</p>
<div style="background-color:#042f9d">Text here</div>
<div style="border: 4px solid #042f9d">Text here</div>
#042f9d Color on white background
This is how a font and box color of #042f9d will look
on a white background.
#042f9d Color on black background
This is how a font and box color of #042f9d hex color will look
on a black background.