In RGB color space, #5540a8 hex color has a red value of 85, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #5540a8 hex color is composed of 49.4% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#5540a8 color has a hue of 252.1 degrees, a saturation of 44.83% and a lightness of 45.5%.
#5540a8 hex color contains mainly BLUE.
The closest web safe color of #5540a8 is #663399
#5540a8 hex color has a decimal value of 5587112.
HEX | 5540a8 | #5540a8 |
---|---|---|
RGB | 85, 64, 168 | rgb(85, 64, 168) |
RGB Percent | 33.33, 25.1, 65.88 | rgb(33.33, 25.1, 65.88) |
CMYK | 49, 62, 0, 34 | |
HSL | 252.1°, 44.83, 45.5 | hsl(252.1, 44.83%, 45.5%) |
HSV | 252.1°, 61.9, 65.9 |
XYZ | 12.648, 8.425, 38.005 |
---|---|
Hunter Lab | 29.026, 26.986, -57.313 |
CIE-LAB | 34.853, 36.076, -53.14 |
CIE-LCH | 34.853, 64.229, 304.172 |
CIE-LUV | 49.4, 61.9, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5540a8
CMYK percent of color #5540a8
Text with hexadecimal color #5540a8
This text has a font color of #5540a8
<p style="color:#5540a8">Text here</p>
#5540a8 Background Color
This box has a background color of #5540a8
<div style="background-color:#5540a8">Text here</div>
#5540a8 Border Color
This box has a border color of #5540a8
<div style="border: 4px solid #5540a8">Text here</div>
CSS codes
<p style="color:#5540a8">Text here</p>
<div style="background-color:#5540a8">Text here</div>
<div style="border: 4px solid #5540a8">Text here</div>
#5540a8 Color on white background
This is how a font and box color of #5540a8 will look
on a white background.
#5540a8 Color on black background
This is how a font and box color of #5540a8 hex color will look
on a black background.