In RGB color space, #042a6f hex color has a red value of 4, a green value of 42 and a blue value of 111.
In CMYK color space (used in color printing), #042a6f hex color is composed of 96.4% cyan, 62.16% magenta, 0% yellow and 56.47% black.
#042a6f color has a hue of 218.7 degrees, a saturation of 93.04% and a lightness of 22.5%.
#042a6f hex color contains mainly BLUE.
The closest web safe color of #042a6f is #003366
#042a6f hex color has a decimal value of 273007.
HEX | 042a6f | #042a6f |
---|---|---|
RGB | 4, 42, 111 | rgb(4, 42, 111) |
RGB Percent | 1.57, 16.47, 43.53 | rgb(1.57, 16.47, 43.53) |
CMYK | 96, 62, 0, 56 | |
HSL | 218.7°, 93.04, 22.5 | hsl(218.7, 93.04%, 22.5%) |
HSV | 218.7°, 96.4, 43.5 |
XYZ | 3.747, 2.829, 15.388 |
---|---|
Hunter Lab | 16.82, 10.331, -42.47 |
CIE-LAB | 19.346, 17.819, -43.236 |
CIE-LCH | 19.346, 46.764, 292.398 |
CIE-LUV | 96.4, 62.16, 0, 56.47 |
Web Safe | 003366 |
RGB percent of color #042a6f
CMYK percent of color #042a6f
Text with hexadecimal color #042a6f
This text has a font color of #042a6f
<p style="color:#042a6f">Text here</p>
#042a6f Background Color
This box has a background color of #042a6f
<div style="background-color:#042a6f">Text here</div>
#042a6f Border Color
This box has a border color of #042a6f
<div style="border: 4px solid #042a6f">Text here</div>
CSS codes
<p style="color:#042a6f">Text here</p>
<div style="background-color:#042a6f">Text here</div>
<div style="border: 4px solid #042a6f">Text here</div>
#042a6f Color on white background
This is how a font and box color of #042a6f will look
on a white background.
#042a6f Color on black background
This is how a font and box color of #042a6f hex color will look
on a black background.