In RGB color space, #0042b7 hex color has a red value of 0, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #0042b7 hex color is composed of 100% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#0042b7 color has a hue of 218.4 degrees, a saturation of 100% and a lightness of 35.9%.
#0042b7 hex color contains mainly BLUE.
The closest web safe color of #0042b7 is #0033cc
#0042b7 hex color has a decimal value of 17079.
HEX | 0042b7 | #0042b7 |
---|---|---|
RGB | 0, 66, 183 | rgb(0, 66, 183) |
RGB Percent | 0, 25.88, 71.76 | rgb(0, 25.88, 71.76) |
CMYK | 100, 64, 0, 28 | |
HSL | 218.4°, 100, 35.9 | hsl(218.4, 100%, 35.9%) |
HSV | 218.4°, 100, 71.8 |
XYZ | 10.495, 7.315, 45.659 |
---|---|
Hunter Lab | 27.046, 21.934, -81.16 |
CIE-LAB | 32.514, 30.765, -66.055 |
CIE-LCH | 32.514, 72.868, 294.974 |
CIE-LUV | 100, 63.93, 0, 28.24 |
Web Safe | 0033cc |
RGB percent of color #0042b7
CMYK percent of color #0042b7
Text with hexadecimal color #0042b7
This text has a font color of #0042b7
<p style="color:#0042b7">Text here</p>
#0042b7 Background Color
This box has a background color of #0042b7
<div style="background-color:#0042b7">Text here</div>
#0042b7 Border Color
This box has a border color of #0042b7
<div style="border: 4px solid #0042b7">Text here</div>
CSS codes
<p style="color:#0042b7">Text here</p>
<div style="background-color:#0042b7">Text here</div>
<div style="border: 4px solid #0042b7">Text here</div>
#0042b7 Color on white background
This is how a font and box color of #0042b7 will look
on a white background.
#0042b7 Color on black background
This is how a font and box color of #0042b7 hex color will look
on a black background.