In RGB color space, #0042b8 hex color has a red value of 0, a green value of 66 and a blue value of 184.
In CMYK color space (used in color printing), #0042b8 hex color is composed of 100% cyan, 64.13% magenta, 0% yellow and 27.84% black.
#0042b8 color has a hue of 218.5 degrees, a saturation of 100% and a lightness of 36.1%.
#0042b8 hex color contains mainly BLUE.
The closest web safe color of #0042b8 is #0033cc
#0042b8 hex color has a decimal value of 17080.
HEX | 0042b8 | #0042b8 |
---|---|---|
RGB | 0, 66, 184 | rgb(0, 66, 184) |
RGB Percent | 0, 25.88, 72.16 | rgb(0, 25.88, 72.16) |
CMYK | 100, 64, 0, 28 | |
HSL | 218.5°, 100, 36.1 | hsl(218.5, 100%, 36.1%) |
HSV | 218.5°, 100, 72.2 |
XYZ | 10.6, 7.357, 46.209 |
---|---|
Hunter Lab | 27.124, 22.291, -82.022 |
CIE-LAB | 32.606, 31.163, -66.494 |
CIE-LCH | 32.606, 73.434, 295.111 |
CIE-LUV | 100, 64.13, 0, 27.84 |
Web Safe | 0033cc |
RGB percent of color #0042b8
CMYK percent of color #0042b8
Text with hexadecimal color #0042b8
This text has a font color of #0042b8
<p style="color:#0042b8">Text here</p>
#0042b8 Background Color
This box has a background color of #0042b8
<div style="background-color:#0042b8">Text here</div>
#0042b8 Border Color
This box has a border color of #0042b8
<div style="border: 4px solid #0042b8">Text here</div>
CSS codes
<p style="color:#0042b8">Text here</p>
<div style="background-color:#0042b8">Text here</div>
<div style="border: 4px solid #0042b8">Text here</div>
#0042b8 Color on white background
This is how a font and box color of #0042b8 will look
on a white background.
#0042b8 Color on black background
This is how a font and box color of #0042b8 hex color will look
on a black background.