In RGB color space, #042a8a hex color has a red value of 4, a green value of 42 and a blue value of 138.
In CMYK color space (used in color printing), #042a8a hex color is composed of 97.1% cyan, 69.57% magenta, 0% yellow and 45.88% black.
#042a8a color has a hue of 223 degrees, a saturation of 94.37% and a lightness of 27.8%.
#042a8a hex color contains mainly BLUE.
The closest web safe color of #042a8a is #003399
#042a8a hex color has a decimal value of 273034.
HEX | 042a8a | #042a8a |
---|---|---|
RGB | 4, 42, 138 | rgb(4, 42, 138) |
RGB Percent | 1.57, 16.47, 54.12 | rgb(1.57, 16.47, 54.12) |
CMYK | 97, 70, 0, 46 | |
HSL | 223°, 94.37, 27.8 | hsl(223, 94.37%, 27.8%) |
HSV | 223°, 97.1, 54.1 |
XYZ | 5.465, 3.517, 24.435 |
---|---|
Hunter Lab | 18.754, 19.198, -64.124 |
CIE-LAB | 22.006, 29.166, -56.011 |
CIE-LCH | 22.006, 63.15, 297.507 |
CIE-LUV | 97.1, 69.57, 0, 45.88 |
Web Safe | 003399 |
RGB percent of color #042a8a
CMYK percent of color #042a8a
Text with hexadecimal color #042a8a
This text has a font color of #042a8a
<p style="color:#042a8a">Text here</p>
#042a8a Background Color
This box has a background color of #042a8a
<div style="background-color:#042a8a">Text here</div>
#042a8a Border Color
This box has a border color of #042a8a
<div style="border: 4px solid #042a8a">Text here</div>
CSS codes
<p style="color:#042a8a">Text here</p>
<div style="background-color:#042a8a">Text here</div>
<div style="border: 4px solid #042a8a">Text here</div>
#042a8a Color on white background
This is how a font and box color of #042a8a will look
on a white background.
#042a8a Color on black background
This is how a font and box color of #042a8a hex color will look
on a black background.