In RGB color space, #5a40a9 hex color has a red value of 90, a green value of 64 and a blue value of 169.
In CMYK color space (used in color printing), #5a40a9 hex color is composed of 46.75% cyan, 62.13% magenta, 0% yellow and 33.73% black.
#5a40a9 color has a hue of 254.9 degrees, a saturation of 45.06% and a lightness of 45.7%.
#5a40a9 hex color contains mainly BLUE.
The closest web safe color of #5a40a9 is #663399
#5a40a9 hex color has a decimal value of 5914793.
HEX | 5a40a9 | #5a40a9 |
---|---|---|
RGB | 90, 64, 169 | rgb(90, 64, 169) |
RGB Percent | 35.29, 25.1, 66.27 | rgb(35.29, 25.1, 66.27) |
CMYK | 47, 62, 0, 34 | |
HSL | 254.9°, 45.06, 45.7 | hsl(254.9, 45.06%, 45.7%) |
HSV | 254.9°, 62.1, 66.3 |
XYZ | 13.211, 8.705, 38.52 |
---|---|
Hunter Lab | 29.504, 28.294, -56.755 |
CIE-LAB | 35.41, 37.407, -52.813 |
CIE-LCH | 35.41, 64.719, 305.31 |
CIE-LUV | 46.75, 62.13, 0, 33.73 |
Web Safe | 663399 |
RGB percent of color #5a40a9
CMYK percent of color #5a40a9
Text with hexadecimal color #5a40a9
This text has a font color of #5a40a9
<p style="color:#5a40a9">Text here</p>
#5a40a9 Background Color
This box has a background color of #5a40a9
<div style="background-color:#5a40a9">Text here</div>
#5a40a9 Border Color
This box has a border color of #5a40a9
<div style="border: 4px solid #5a40a9">Text here</div>
CSS codes
<p style="color:#5a40a9">Text here</p>
<div style="background-color:#5a40a9">Text here</div>
<div style="border: 4px solid #5a40a9">Text here</div>
#5a40a9 Color on white background
This is how a font and box color of #5a40a9 will look
on a white background.
#5a40a9 Color on black background
This is how a font and box color of #5a40a9 hex color will look
on a black background.