In RGB color space, #0542d1 hex color has a red value of 5, a green value of 66 and a blue value of 209.
In CMYK color space (used in color printing), #0542d1 hex color is composed of 97.61% cyan, 68.42% magenta, 0% yellow and 18.04% black.
#0542d1 color has a hue of 222.1 degrees, a saturation of 95.33% and a lightness of 42%.
#0542d1 hex color contains mainly BLUE.
The closest web safe color of #0542d1 is #0033cc
#0542d1 hex color has a decimal value of 344785.
HEX | 0542d1 | #0542d1 |
---|---|---|
RGB | 5, 66, 209 | rgb(5, 66, 209) |
RGB Percent | 1.96, 25.88, 81.96 | rgb(1.96, 25.88, 81.96) |
CMYK | 98, 68, 0, 18 | |
HSL | 222.1°, 95.33, 42 | hsl(222.1, 95.33%, 42%) |
HSV | 222.1°, 97.6, 82 |
XYZ | 13.519, 8.532, 61.256 |
---|---|
Hunter Lab | 29.21, 31.498, -103.892 |
CIE-LAB | 35.067, 40.882, -77.058 |
CIE-LCH | 35.067, 87.231, 297.948 |
CIE-LUV | 97.61, 68.42, 0, 18.04 |
Web Safe | 0033cc |
RGB percent of color #0542d1
CMYK percent of color #0542d1
Text with hexadecimal color #0542d1
This text has a font color of #0542d1
<p style="color:#0542d1">Text here</p>
#0542d1 Background Color
This box has a background color of #0542d1
<div style="background-color:#0542d1">Text here</div>
#0542d1 Border Color
This box has a border color of #0542d1
<div style="border: 4px solid #0542d1">Text here</div>
CSS codes
<p style="color:#0542d1">Text here</p>
<div style="background-color:#0542d1">Text here</div>
<div style="border: 4px solid #0542d1">Text here</div>
#0542d1 Color on white background
This is how a font and box color of #0542d1 will look
on a white background.
#0542d1 Color on black background
This is how a font and box color of #0542d1 hex color will look
on a black background.