In RGB color space, #042a8b hex color has a red value of 4, a green value of 42 and a blue value of 139.
In CMYK color space (used in color printing), #042a8b hex color is composed of 97.12% cyan, 69.78% magenta, 0% yellow and 45.49% black.
#042a8b color has a hue of 223.1 degrees, a saturation of 94.41% and a lightness of 28%.
#042a8b hex color contains mainly BLUE.
The closest web safe color of #042a8b is #003399
#042a8b hex color has a decimal value of 273035.
HEX | 042a8b | #042a8b |
---|---|---|
RGB | 4, 42, 139 | rgb(4, 42, 139) |
RGB Percent | 1.57, 16.47, 54.51 | rgb(1.57, 16.47, 54.51) |
CMYK | 97, 70, 0, 45 | |
HSL | 223.1°, 94.41, 28 | hsl(223.1, 94.41%, 28%) |
HSV | 223.1°, 97.1, 54.5 |
XYZ | 5.538, 3.546, 24.819 |
---|---|
Hunter Lab | 18.831, 19.542, -64.963 |
CIE-LAB | 22.11, 29.572, -56.465 |
CIE-LCH | 22.11, 63.74, 297.642 |
CIE-LUV | 97.12, 69.78, 0, 45.49 |
Web Safe | 003399 |
RGB percent of color #042a8b
CMYK percent of color #042a8b
Text with hexadecimal color #042a8b
This text has a font color of #042a8b
<p style="color:#042a8b">Text here</p>
#042a8b Background Color
This box has a background color of #042a8b
<div style="background-color:#042a8b">Text here</div>
#042a8b Border Color
This box has a border color of #042a8b
<div style="border: 4px solid #042a8b">Text here</div>
CSS codes
<p style="color:#042a8b">Text here</p>
<div style="background-color:#042a8b">Text here</div>
<div style="border: 4px solid #042a8b">Text here</div>
#042a8b Color on white background
This is how a font and box color of #042a8b will look
on a white background.
#042a8b Color on black background
This is how a font and box color of #042a8b hex color will look
on a black background.