In RGB color space, #5a40bf hex color has a red value of 90, a green value of 64 and a blue value of 191.
In CMYK color space (used in color printing), #5a40bf hex color is composed of 52.88% cyan, 66.49% magenta, 0% yellow and 25.1% black.
#5a40bf color has a hue of 252.3 degrees, a saturation of 49.8% and a lightness of 50%.
#5a40bf hex color contains mainly BLUE.
The closest web safe color of #5a40bf is #6633cc
#5a40bf hex color has a decimal value of 5914815.
HEX | 5a40bf | #5a40bf |
---|---|---|
RGB | 90, 64, 191 | rgb(90, 64, 191) |
RGB Percent | 35.29, 25.1, 74.9 | rgb(35.29, 25.1, 74.9) |
CMYK | 53, 66, 0, 25 | |
HSL | 252.3°, 49.8, 50 | hsl(252.3, 49.8%, 50%) |
HSV | 252.3°, 66.5, 74.9 |
XYZ | 15.454, 9.602, 50.329 |
---|---|
Hunter Lab | 30.987, 34.795, -74.607 |
CIE-LAB | 37.118, 43.942, -63.054 |
CIE-LCH | 37.118, 76.855, 304.872 |
CIE-LUV | 52.88, 66.49, 0, 25.1 |
Web Safe | 6633cc |
RGB percent of color #5a40bf
CMYK percent of color #5a40bf
Text with hexadecimal color #5a40bf
This text has a font color of #5a40bf
<p style="color:#5a40bf">Text here</p>
#5a40bf Background Color
This box has a background color of #5a40bf
<div style="background-color:#5a40bf">Text here</div>
#5a40bf Border Color
This box has a border color of #5a40bf
<div style="border: 4px solid #5a40bf">Text here</div>
CSS codes
<p style="color:#5a40bf">Text here</p>
<div style="background-color:#5a40bf">Text here</div>
<div style="border: 4px solid #5a40bf">Text here</div>
#5a40bf Color on white background
This is how a font and box color of #5a40bf will look
on a white background.
#5a40bf Color on black background
This is how a font and box color of #5a40bf hex color will look
on a black background.