In RGB color space, #5a40c9 hex color has a red value of 90, a green value of 64 and a blue value of 201.
In CMYK color space (used in color printing), #5a40c9 hex color is composed of 55.22% cyan, 68.16% magenta, 0% yellow and 21.18% black.
#5a40c9 color has a hue of 251.4 degrees, a saturation of 55.92% and a lightness of 52%.
#5a40c9 hex color contains mainly BLUE.
The closest web safe color of #5a40c9 is #6633cc
#5a40c9 hex color has a decimal value of 5914825.
HEX | 5a40c9 | #5a40c9 |
---|---|---|
RGB | 90, 64, 201 | rgb(90, 64, 201) |
RGB Percent | 35.29, 25.1, 78.82 | rgb(35.29, 25.1, 78.82) |
CMYK | 55, 68, 0, 21 | |
HSL | 251.4°, 55.92, 52 | hsl(251.4, 55.92%, 52%) |
HSV | 251.4°, 68.2, 78.8 |
XYZ | 16.592, 10.057, 56.325 |
---|---|
Hunter Lab | 31.713, 37.893, -83.106 |
CIE-LAB | 37.945, 46.921, -67.542 |
CIE-LCH | 37.945, 82.241, 304.787 |
CIE-LUV | 55.22, 68.16, 0, 21.18 |
Web Safe | 6633cc |
RGB percent of color #5a40c9
CMYK percent of color #5a40c9
Text with hexadecimal color #5a40c9
This text has a font color of #5a40c9
<p style="color:#5a40c9">Text here</p>
#5a40c9 Background Color
This box has a background color of #5a40c9
<div style="background-color:#5a40c9">Text here</div>
#5a40c9 Border Color
This box has a border color of #5a40c9
<div style="border: 4px solid #5a40c9">Text here</div>
CSS codes
<p style="color:#5a40c9">Text here</p>
<div style="background-color:#5a40c9">Text here</div>
<div style="border: 4px solid #5a40c9">Text here</div>
#5a40c9 Color on white background
This is how a font and box color of #5a40c9 will look
on a white background.
#5a40c9 Color on black background
This is how a font and box color of #5a40c9 hex color will look
on a black background.