In RGB color space, #5a5797 hex color has a red value of 90, a green value of 87 and a blue value of 151.
In CMYK color space (used in color printing), #5a5797 hex color is composed of 40.4% cyan, 42.38% magenta, 0% yellow and 40.78% black.
#5a5797 color has a hue of 242.8 degrees, a saturation of 26.89% and a lightness of 46.7%.
#5a5797 hex color contains mainly BLUE.
The closest web safe color of #5a5797 is #666699
#5a5797 hex color has a decimal value of 5920663.
HEX | 5a5797 | #5a5797 |
---|---|---|
RGB | 90, 87, 151 | rgb(90, 87, 151) |
RGB Percent | 35.29, 34.12, 59.22 | rgb(35.29, 34.12, 59.22) |
CMYK | 40, 42, 0, 41 | |
HSL | 242.8°, 26.89, 46.7 | hsl(242.8, 26.89%, 46.7%) |
HSV | 242.8°, 42.4, 59.2 |
XYZ | 13.211, 11.224, 30.748 |
---|---|
Hunter Lab | 33.502, 11.759, -30.964 |
CIE-LAB | 39.955, 17.815, -34.74 |
CIE-LCH | 39.955, 39.042, 297.149 |
CIE-LUV | 40.4, 42.38, 0, 40.78 |
Web Safe | 666699 |
RGB percent of color #5a5797
CMYK percent of color #5a5797
Text with hexadecimal color #5a5797
This text has a font color of #5a5797
<p style="color:#5a5797">Text here</p>
#5a5797 Background Color
This box has a background color of #5a5797
<div style="background-color:#5a5797">Text here</div>
#5a5797 Border Color
This box has a border color of #5a5797
<div style="border: 4px solid #5a5797">Text here</div>
CSS codes
<p style="color:#5a5797">Text here</p>
<div style="background-color:#5a5797">Text here</div>
<div style="border: 4px solid #5a5797">Text here</div>
#5a5797 Color on white background
This is how a font and box color of #5a5797 will look
on a white background.
#5a5797 Color on black background
This is how a font and box color of #5a5797 hex color will look
on a black background.