In RGB color space, #0540c8 hex color has a red value of 5, a green value of 64 and a blue value of 200.
In CMYK color space (used in color printing), #0540c8 hex color is composed of 97.5% cyan, 68% magenta, 0% yellow and 21.57% black.
#0540c8 color has a hue of 221.8 degrees, a saturation of 95.12% and a lightness of 40.2%.
#0540c8 hex color contains mainly BLUE.
The closest web safe color of #0540c8 is #0033cc
#0540c8 hex color has a decimal value of 344264.
HEX | 0540c8 | #0540c8 |
---|---|---|
RGB | 5, 64, 200 | rgb(5, 64, 200) |
RGB Percent | 1.96, 25.1, 78.43 | rgb(1.96, 25.1, 78.43) |
CMYK | 98, 68, 0, 22 | |
HSL | 221.8°, 95.12, 40.2 | hsl(221.8, 95.12%, 40.2%) |
HSV | 221.8°, 97.5, 78.4 |
XYZ | 12.321, 7.869, 55.513 |
---|---|
Hunter Lab | 28.052, 29.311, -97.696 |
CIE-LAB | 33.709, 38.789, -74.07 |
CIE-LCH | 33.709, 83.612, 297.64 |
CIE-LUV | 97.5, 68, 0, 21.57 |
Web Safe | 0033cc |
RGB percent of color #0540c8
CMYK percent of color #0540c8
Text with hexadecimal color #0540c8
This text has a font color of #0540c8
<p style="color:#0540c8">Text here</p>
#0540c8 Background Color
This box has a background color of #0540c8
<div style="background-color:#0540c8">Text here</div>
#0540c8 Border Color
This box has a border color of #0540c8
<div style="border: 4px solid #0540c8">Text here</div>
CSS codes
<p style="color:#0540c8">Text here</p>
<div style="background-color:#0540c8">Text here</div>
<div style="border: 4px solid #0540c8">Text here</div>
#0540c8 Color on white background
This is how a font and box color of #0540c8 will look
on a white background.
#0540c8 Color on black background
This is how a font and box color of #0540c8 hex color will look
on a black background.