In RGB color space, #5a40cf hex color has a red value of 90, a green value of 64 and a blue value of 207.
In CMYK color space (used in color printing), #5a40cf hex color is composed of 56.52% cyan, 69.08% magenta, 0% yellow and 18.82% black.
#5a40cf color has a hue of 250.9 degrees, a saturation of 59.83% and a lightness of 53.1%.
#5a40cf hex color contains mainly BLUE.
The closest web safe color of #5a40cf is #6633cc
#5a40cf hex color has a decimal value of 5914831.
HEX | 5a40cf | #5a40cf |
---|---|---|
RGB | 90, 64, 207 | rgb(90, 64, 207) |
RGB Percent | 35.29, 25.1, 81.18 | rgb(35.29, 25.1, 81.18) |
CMYK | 57, 69, 0, 19 | |
HSL | 250.9°, 59.83, 53.1 | hsl(250.9, 59.83%, 53.1%) |
HSV | 250.9°, 69.1, 81.2 |
XYZ | 17.312, 10.345, 60.116 |
---|---|
Hunter Lab | 32.164, 39.791, -88.302 |
CIE-LAB | 38.455, 48.708, -70.187 |
CIE-LCH | 38.455, 85.432, 304.76 |
CIE-LUV | 56.52, 69.08, 0, 18.82 |
Web Safe | 6633cc |
RGB percent of color #5a40cf
CMYK percent of color #5a40cf
Text with hexadecimal color #5a40cf
This text has a font color of #5a40cf
<p style="color:#5a40cf">Text here</p>
#5a40cf Background Color
This box has a background color of #5a40cf
<div style="background-color:#5a40cf">Text here</div>
#5a40cf Border Color
This box has a border color of #5a40cf
<div style="border: 4px solid #5a40cf">Text here</div>
CSS codes
<p style="color:#5a40cf">Text here</p>
<div style="background-color:#5a40cf">Text here</div>
<div style="border: 4px solid #5a40cf">Text here</div>
#5a40cf Color on white background
This is how a font and box color of #5a40cf will look
on a white background.
#5a40cf Color on black background
This is how a font and box color of #5a40cf hex color will look
on a black background.