In RGB color space, #0042a7 hex color has a red value of 0, a green value of 66 and a blue value of 167.
In CMYK color space (used in color printing), #0042a7 hex color is composed of 100% cyan, 60.48% magenta, 0% yellow and 34.51% black.
#0042a7 color has a hue of 216.3 degrees, a saturation of 100% and a lightness of 32.7%.
#0042a7 hex color contains mainly BLUE.
The closest web safe color of #0042a7 is #003399
#0042a7 hex color has a decimal value of 17063.
HEX | 0042a7 | #0042a7 |
---|---|---|
RGB | 0, 66, 167 | rgb(0, 66, 167) |
RGB Percent | 0, 25.88, 65.49 | rgb(0, 25.88, 65.49) |
CMYK | 100, 60, 0, 35 | |
HSL | 216.3°, 100, 32.7 | hsl(216.3, 100%, 32.7%) |
HSV | 216.3°, 100, 65.5 |
XYZ | 8.923, 6.686, 37.38 |
---|---|
Hunter Lab | 25.857, 16.348, -67.611 |
CIE-LAB | 31.081, 24.309, -58.867 |
CIE-LCH | 31.081, 63.689, 292.438 |
CIE-LUV | 100, 60.48, 0, 34.51 |
Web Safe | 003399 |
RGB percent of color #0042a7
CMYK percent of color #0042a7
Text with hexadecimal color #0042a7
This text has a font color of #0042a7
<p style="color:#0042a7">Text here</p>
#0042a7 Background Color
This box has a background color of #0042a7
<div style="background-color:#0042a7">Text here</div>
#0042a7 Border Color
This box has a border color of #0042a7
<div style="border: 4px solid #0042a7">Text here</div>
CSS codes
<p style="color:#0042a7">Text here</p>
<div style="background-color:#0042a7">Text here</div>
<div style="border: 4px solid #0042a7">Text here</div>
#0042a7 Color on white background
This is how a font and box color of #0042a7 will look
on a white background.
#0042a7 Color on black background
This is how a font and box color of #0042a7 hex color will look
on a black background.