In RGB color space, #0542b2 hex color has a red value of 5, a green value of 66 and a blue value of 178.
In CMYK color space (used in color printing), #0542b2 hex color is composed of 97.19% cyan, 62.92% magenta, 0% yellow and 30.2% black.
#0542b2 color has a hue of 218.8 degrees, a saturation of 94.54% and a lightness of 35.9%.
#0542b2 hex color contains mainly BLUE.
The closest web safe color of #0542b2 is #003399
#0542b2 hex color has a decimal value of 344754.
HEX | 0542b2 | #0542b2 |
---|---|---|
RGB | 5, 66, 178 | rgb(5, 66, 178) |
RGB Percent | 1.96, 25.88, 69.8 | rgb(1.96, 25.88, 69.8) |
CMYK | 97, 63, 0, 30 | |
HSL | 218.8°, 94.54, 35.9 | hsl(218.8, 94.54%, 35.9%) |
HSV | 218.8°, 97.2, 69.8 |
XYZ | 10.047, 7.143, 42.969 |
---|---|
Hunter Lab | 26.726, 20.331, -76.614 |
CIE-LAB | 32.13, 28.954, -63.716 |
CIE-LCH | 32.13, 69.986, 294.438 |
CIE-LUV | 97.19, 62.92, 0, 30.2 |
Web Safe | 003399 |
RGB percent of color #0542b2
CMYK percent of color #0542b2
Text with hexadecimal color #0542b2
This text has a font color of #0542b2
<p style="color:#0542b2">Text here</p>
#0542b2 Background Color
This box has a background color of #0542b2
<div style="background-color:#0542b2">Text here</div>
#0542b2 Border Color
This box has a border color of #0542b2
<div style="border: 4px solid #0542b2">Text here</div>
CSS codes
<p style="color:#0542b2">Text here</p>
<div style="background-color:#0542b2">Text here</div>
<div style="border: 4px solid #0542b2">Text here</div>
#0542b2 Color on white background
This is how a font and box color of #0542b2 will look
on a white background.
#0542b2 Color on black background
This is how a font and box color of #0542b2 hex color will look
on a black background.