In RGB color space, #0042a1 hex color has a red value of 0, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #0042a1 hex color is composed of 100% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#0042a1 color has a hue of 215.4 degrees, a saturation of 100% and a lightness of 31.6%.
#0042a1 hex color contains mainly BLUE.
The closest web safe color of #0042a1 is #003399
#0042a1 hex color has a decimal value of 17057.
HEX | 0042a1 | #0042a1 |
---|---|---|
RGB | 0, 66, 161 | rgb(0, 66, 161) |
RGB Percent | 0, 25.88, 63.14 | rgb(0, 25.88, 63.14) |
CMYK | 100, 59, 0, 37 | |
HSL | 215.4°, 100, 31.6 | hsl(215.4, 100%, 31.6%) |
HSV | 215.4°, 100, 63.1 |
XYZ | 8.381, 6.47, 34.525 |
---|---|
Hunter Lab | 25.436, 14.301, -62.67 |
CIE-LAB | 30.569, 21.821, -56.091 |
CIE-LCH | 30.569, 60.186, 291.257 |
CIE-LUV | 100, 59.01, 0, 36.86 |
Web Safe | 003399 |
RGB percent of color #0042a1
CMYK percent of color #0042a1
Text with hexadecimal color #0042a1
This text has a font color of #0042a1
<p style="color:#0042a1">Text here</p>
#0042a1 Background Color
This box has a background color of #0042a1
<div style="background-color:#0042a1">Text here</div>
#0042a1 Border Color
This box has a border color of #0042a1
<div style="border: 4px solid #0042a1">Text here</div>
CSS codes
<p style="color:#0042a1">Text here</p>
<div style="background-color:#0042a1">Text here</div>
<div style="border: 4px solid #0042a1">Text here</div>
#0042a1 Color on white background
This is how a font and box color of #0042a1 will look
on a white background.
#0042a1 Color on black background
This is how a font and box color of #0042a1 hex color will look
on a black background.