In RGB color space, #042f8a hex color has a red value of 4, a green value of 47 and a blue value of 138.
In CMYK color space (used in color printing), #042f8a hex color is composed of 97.1% cyan, 65.94% magenta, 0% yellow and 45.88% black.
#042f8a color has a hue of 220.7 degrees, a saturation of 94.37% and a lightness of 27.8%.
#042f8a hex color contains mainly BLUE.
The closest web safe color of #042f8a is #003399
#042f8a hex color has a decimal value of 274314.
HEX | 042f8a | #042f8a |
---|---|---|
RGB | 4, 47, 138 | rgb(4, 47, 138) |
RGB Percent | 1.57, 18.43, 54.12 | rgb(1.57, 18.43, 54.12) |
CMYK | 97, 66, 0, 46 | |
HSL | 220.7°, 94.37, 27.8 | hsl(220.7, 94.37%, 27.8%) |
HSV | 220.7°, 97.1, 54.1 |
XYZ | 5.654, 3.894, 24.498 |
---|---|
Hunter Lab | 19.733, 16.611, -59.793 |
CIE-LAB | 23.318, 25.71, -53.853 |
CIE-LCH | 23.318, 59.675, 295.52 |
CIE-LUV | 97.1, 65.94, 0, 45.88 |
Web Safe | 003399 |
RGB percent of color #042f8a
CMYK percent of color #042f8a
Text with hexadecimal color #042f8a
This text has a font color of #042f8a
<p style="color:#042f8a">Text here</p>
#042f8a Background Color
This box has a background color of #042f8a
<div style="background-color:#042f8a">Text here</div>
#042f8a Border Color
This box has a border color of #042f8a
<div style="border: 4px solid #042f8a">Text here</div>
CSS codes
<p style="color:#042f8a">Text here</p>
<div style="background-color:#042f8a">Text here</div>
<div style="border: 4px solid #042f8a">Text here</div>
#042f8a Color on white background
This is how a font and box color of #042f8a will look
on a white background.
#042f8a Color on black background
This is how a font and box color of #042f8a hex color will look
on a black background.