In RGB color space, #0540c9 hex color has a red value of 5, a green value of 64 and a blue value of 201.
In CMYK color space (used in color printing), #0540c9 hex color is composed of 97.51% cyan, 68.16% magenta, 0% yellow and 21.18% black.
#0540c9 color has a hue of 221.9 degrees, a saturation of 95.15% and a lightness of 40.4%.
#0540c9 hex color contains mainly BLUE.
The closest web safe color of #0540c9 is #0033cc
#0540c9 hex color has a decimal value of 344265.
HEX | 0540c9 | #0540c9 |
---|---|---|
RGB | 5, 64, 201 | rgb(5, 64, 201) |
RGB Percent | 1.96, 25.1, 78.82 | rgb(1.96, 25.1, 78.82) |
CMYK | 98, 68, 0, 21 | |
HSL | 221.9°, 95.15, 40.4 | hsl(221.9, 95.15%, 40.4%) |
HSV | 221.9°, 97.5, 78.8 |
XYZ | 12.439, 7.916, 56.131 |
---|---|
Hunter Lab | 28.135, 29.68, -98.591 |
CIE-LAB | 33.807, 39.168, -74.491 |
CIE-LCH | 33.807, 84.161, 297.736 |
CIE-LUV | 97.51, 68.16, 0, 21.18 |
Web Safe | 0033cc |
RGB percent of color #0540c9
CMYK percent of color #0540c9
Text with hexadecimal color #0540c9
This text has a font color of #0540c9
<p style="color:#0540c9">Text here</p>
#0540c9 Background Color
This box has a background color of #0540c9
<div style="background-color:#0540c9">Text here</div>
#0540c9 Border Color
This box has a border color of #0540c9
<div style="border: 4px solid #0540c9">Text here</div>
CSS codes
<p style="color:#0540c9">Text here</p>
<div style="background-color:#0540c9">Text here</div>
<div style="border: 4px solid #0540c9">Text here</div>
#0540c9 Color on white background
This is how a font and box color of #0540c9 will look
on a white background.
#0540c9 Color on black background
This is how a font and box color of #0540c9 hex color will look
on a black background.