In RGB color space, #5a40bc hex color has a red value of 90, a green value of 64 and a blue value of 188.
In CMYK color space (used in color printing), #5a40bc hex color is composed of 52.13% cyan, 65.96% magenta, 0% yellow and 26.27% black.
#5a40bc color has a hue of 252.6 degrees, a saturation of 49.21% and a lightness of 49.4%.
#5a40bc hex color contains mainly BLUE.
The closest web safe color of #5a40bc is #6633cc
#5a40bc hex color has a decimal value of 5914812.
HEX | 5a40bc | #5a40bc |
---|---|---|
RGB | 90, 64, 188 | rgb(90, 64, 188) |
RGB Percent | 35.29, 25.1, 73.73 | rgb(35.29, 25.1, 73.73) |
CMYK | 52, 66, 0, 26 | |
HSL | 252.6°, 49.21, 49.4 | hsl(252.6, 49.21%, 49.4%) |
HSV | 252.6°, 66, 73.7 |
XYZ | 15.127, 9.471, 48.608 |
---|---|
Hunter Lab | 30.775, 33.883, -72.104 |
CIE-LAB | 36.876, 43.049, -61.69 |
CIE-LCH | 36.876, 75.225, 304.908 |
CIE-LUV | 52.13, 65.96, 0, 26.27 |
Web Safe | 6633cc |
RGB percent of color #5a40bc
CMYK percent of color #5a40bc
Text with hexadecimal color #5a40bc
This text has a font color of #5a40bc
<p style="color:#5a40bc">Text here</p>
#5a40bc Background Color
This box has a background color of #5a40bc
<div style="background-color:#5a40bc">Text here</div>
#5a40bc Border Color
This box has a border color of #5a40bc
<div style="border: 4px solid #5a40bc">Text here</div>
CSS codes
<p style="color:#5a40bc">Text here</p>
<div style="background-color:#5a40bc">Text here</div>
<div style="border: 4px solid #5a40bc">Text here</div>
#5a40bc Color on white background
This is how a font and box color of #5a40bc will look
on a white background.
#5a40bc Color on black background
This is how a font and box color of #5a40bc hex color will look
on a black background.