In RGB color space, #042f87 hex color has a red value of 4, a green value of 47 and a blue value of 135.
In CMYK color space (used in color printing), #042f87 hex color is composed of 97.04% cyan, 65.19% magenta, 0% yellow and 47.06% black.
#042f87 color has a hue of 220.3 degrees, a saturation of 94.24% and a lightness of 27.3%.
#042f87 hex color contains mainly BLUE.
The closest web safe color of #042f87 is #003399
#042f87 hex color has a decimal value of 274311.
HEX | 042f87 | #042f87 |
---|---|---|
RGB | 4, 47, 135 | rgb(4, 47, 135) |
RGB Percent | 1.57, 18.43, 52.94 | rgb(1.57, 18.43, 52.94) |
CMYK | 97, 65, 0, 47 | |
HSL | 220.3°, 94.24, 27.3 | hsl(220.3, 94.24%, 27.3%) |
HSV | 220.3°, 97, 52.9 |
XYZ | 5.44, 3.808, 23.37 |
---|---|
Hunter Lab | 19.514, 15.611, -57.346 |
CIE-LAB | 23.026, 24.472, -52.46 |
CIE-LCH | 23.026, 57.887, 295.009 |
CIE-LUV | 97.04, 65.19, 0, 47.06 |
Web Safe | 003399 |
RGB percent of color #042f87
CMYK percent of color #042f87
Text with hexadecimal color #042f87
This text has a font color of #042f87
<p style="color:#042f87">Text here</p>
#042f87 Background Color
This box has a background color of #042f87
<div style="background-color:#042f87">Text here</div>
#042f87 Border Color
This box has a border color of #042f87
<div style="border: 4px solid #042f87">Text here</div>
CSS codes
<p style="color:#042f87">Text here</p>
<div style="background-color:#042f87">Text here</div>
<div style="border: 4px solid #042f87">Text here</div>
#042f87 Color on white background
This is how a font and box color of #042f87 will look
on a white background.
#042f87 Color on black background
This is how a font and box color of #042f87 hex color will look
on a black background.