In RGB color space, #0540d1 hex color has a red value of 5, a green value of 64 and a blue value of 209.
In CMYK color space (used in color printing), #0540d1 hex color is composed of 97.61% cyan, 69.38% magenta, 0% yellow and 18.04% black.
#0540d1 color has a hue of 222.6 degrees, a saturation of 95.33% and a lightness of 42%.
#0540d1 hex color contains mainly BLUE.
The closest web safe color of #0540d1 is #0033cc
#0540d1 hex color has a decimal value of 344273.
HEX | 0540d1 | #0540d1 |
---|---|---|
RGB | 5, 64, 209 | rgb(5, 64, 209) |
RGB Percent | 1.96, 25.1, 81.96 | rgb(1.96, 25.1, 81.96) |
CMYK | 98, 69, 0, 18 | |
HSL | 222.6°, 95.33, 42 | hsl(222.6, 95.33%, 42%) |
HSV | 222.6°, 97.6, 82 |
XYZ | 13.405, 8.303, 61.218 |
---|---|
Hunter Lab | 28.815, 32.614, -105.793 |
CIE-LAB | 34.606, 42.133, -77.819 |
CIE-LCH | 34.606, 88.493, 298.432 |
CIE-LUV | 97.61, 69.38, 0, 18.04 |
Web Safe | 0033cc |
RGB percent of color #0540d1
CMYK percent of color #0540d1
Text with hexadecimal color #0540d1
This text has a font color of #0540d1
<p style="color:#0540d1">Text here</p>
#0540d1 Background Color
This box has a background color of #0540d1
<div style="background-color:#0540d1">Text here</div>
#0540d1 Border Color
This box has a border color of #0540d1
<div style="border: 4px solid #0540d1">Text here</div>
CSS codes
<p style="color:#0540d1">Text here</p>
<div style="background-color:#0540d1">Text here</div>
<div style="border: 4px solid #0540d1">Text here</div>
#0540d1 Color on white background
This is how a font and box color of #0540d1 will look
on a white background.
#0540d1 Color on black background
This is how a font and box color of #0540d1 hex color will look
on a black background.