In RGB color space, #5a40a3 hex color has a red value of 90, a green value of 64 and a blue value of 163.
In CMYK color space (used in color printing), #5a40a3 hex color is composed of 44.79% cyan, 60.74% magenta, 0% yellow and 36.08% black.
#5a40a3 color has a hue of 255.8 degrees, a saturation of 43.61% and a lightness of 44.5%.
#5a40a3 hex color contains mainly BLUE.
The closest web safe color of #5a40a3 is #663399
#5a40a3 hex color has a decimal value of 5914787.
HEX | 5a40a3 | #5a40a3 |
---|---|---|
RGB | 90, 64, 163 | rgb(90, 64, 163) |
RGB Percent | 35.29, 25.1, 63.92 | rgb(35.29, 25.1, 63.92) |
CMYK | 45, 61, 0, 36 | |
HSL | 255.8°, 43.61, 44.5 | hsl(255.8, 43.61%, 44.5%) |
HSV | 255.8°, 60.7, 63.9 |
XYZ | 12.661, 8.485, 35.621 |
---|---|
Hunter Lab | 29.129, 26.61, -52.114 |
CIE-LAB | 34.973, 35.644, -49.925 |
CIE-LCH | 34.973, 61.343, 305.525 |
CIE-LUV | 44.79, 60.74, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #5a40a3
CMYK percent of color #5a40a3
Text with hexadecimal color #5a40a3
This text has a font color of #5a40a3
<p style="color:#5a40a3">Text here</p>
#5a40a3 Background Color
This box has a background color of #5a40a3
<div style="background-color:#5a40a3">Text here</div>
#5a40a3 Border Color
This box has a border color of #5a40a3
<div style="border: 4px solid #5a40a3">Text here</div>
CSS codes
<p style="color:#5a40a3">Text here</p>
<div style="background-color:#5a40a3">Text here</div>
<div style="border: 4px solid #5a40a3">Text here</div>
#5a40a3 Color on white background
This is how a font and box color of #5a40a3 will look
on a white background.
#5a40a3 Color on black background
This is how a font and box color of #5a40a3 hex color will look
on a black background.