In RGB color space, #042a5f hex color has a red value of 4, a green value of 42 and a blue value of 95.
In CMYK color space (used in color printing), #042a5f hex color is composed of 95.79% cyan, 55.79% magenta, 0% yellow and 62.75% black.
#042a5f color has a hue of 214.9 degrees, a saturation of 91.92% and a lightness of 19.4%.
#042a5f hex color contains mainly BLUE.
The closest web safe color of #042a5f is #003366
#042a5f hex color has a decimal value of 272991.
HEX | 042a5f | #042a5f |
---|---|---|
RGB | 4, 42, 95 | rgb(4, 42, 95) |
RGB Percent | 1.57, 16.47, 37.25 | rgb(1.57, 16.47, 37.25) |
CMYK | 96, 56, 0, 63 | |
HSL | 214.9°, 91.92, 19.4 | hsl(214.9, 91.92%, 19.4%) |
HSV | 214.9°, 95.8, 37.3 |
XYZ | 2.944, 2.508, 11.155 |
---|---|
Hunter Lab | 15.837, 5.469, -30.677 |
CIE-LAB | 17.955, 10.669, -35.041 |
CIE-LCH | 17.955, 36.629, 286.934 |
CIE-LUV | 95.79, 55.79, 0, 62.75 |
Web Safe | 003366 |
RGB percent of color #042a5f
CMYK percent of color #042a5f
Text with hexadecimal color #042a5f
This text has a font color of #042a5f
<p style="color:#042a5f">Text here</p>
#042a5f Background Color
This box has a background color of #042a5f
<div style="background-color:#042a5f">Text here</div>
#042a5f Border Color
This box has a border color of #042a5f
<div style="border: 4px solid #042a5f">Text here</div>
CSS codes
<p style="color:#042a5f">Text here</p>
<div style="background-color:#042a5f">Text here</div>
<div style="border: 4px solid #042a5f">Text here</div>
#042a5f Color on white background
This is how a font and box color of #042a5f will look
on a white background.
#042a5f Color on black background
This is how a font and box color of #042a5f hex color will look
on a black background.