In RGB color space, #0542d2 hex color has a red value of 5, a green value of 66 and a blue value of 210.
In CMYK color space (used in color printing), #0542d2 hex color is composed of 97.62% cyan, 68.57% magenta, 0% yellow and 17.65% black.
#0542d2 color has a hue of 222.1 degrees, a saturation of 95.35% and a lightness of 42.2%.
#0542d2 hex color contains mainly BLUE.
The closest web safe color of #0542d2 is #0033cc
#0542d2 hex color has a decimal value of 344786.
HEX | 0542d2 | #0542d2 |
---|---|---|
RGB | 5, 66, 210 | rgb(5, 66, 210) |
RGB Percent | 1.96, 25.88, 82.35 | rgb(1.96, 25.88, 82.35) |
CMYK | 98, 69, 0, 18 | |
HSL | 222.1°, 95.35, 42.2 | hsl(222.1, 95.35%, 42.2%) |
HSV | 222.1°, 97.6, 82.4 |
XYZ | 13.644, 8.582, 61.91 |
---|---|
Hunter Lab | 29.295, 31.869, -104.793 |
CIE-LAB | 35.167, 41.255, -77.472 |
CIE-LCH | 35.167, 87.772, 298.036 |
CIE-LUV | 97.62, 68.57, 0, 17.65 |
Web Safe | 0033cc |
RGB percent of color #0542d2
CMYK percent of color #0542d2
Text with hexadecimal color #0542d2
This text has a font color of #0542d2
<p style="color:#0542d2">Text here</p>
#0542d2 Background Color
This box has a background color of #0542d2
<div style="background-color:#0542d2">Text here</div>
#0542d2 Border Color
This box has a border color of #0542d2
<div style="border: 4px solid #0542d2">Text here</div>
CSS codes
<p style="color:#0542d2">Text here</p>
<div style="background-color:#0542d2">Text here</div>
<div style="border: 4px solid #0542d2">Text here</div>
#0542d2 Color on white background
This is how a font and box color of #0542d2 will look
on a white background.
#0542d2 Color on black background
This is how a font and box color of #0542d2 hex color will look
on a black background.