In RGB color space, #5a5798 hex color has a red value of 90, a green value of 87 and a blue value of 152.
In CMYK color space (used in color printing), #5a5798 hex color is composed of 40.79% cyan, 42.76% magenta, 0% yellow and 40.39% black.
#5a5798 color has a hue of 242.8 degrees, a saturation of 27.2% and a lightness of 46.9%.
#5a5798 hex color contains mainly BLUE.
The closest web safe color of #5a5798 is #666699
#5a5798 hex color has a decimal value of 5920664.
HEX | 5a5798 | #5a5798 |
---|---|---|
RGB | 90, 87, 152 | rgb(90, 87, 152) |
RGB Percent | 35.29, 34.12, 59.61 | rgb(35.29, 34.12, 59.61) |
CMYK | 41, 43, 0, 40 | |
HSL | 242.8°, 27.2, 46.9 | hsl(242.8, 27.2%, 46.9%) |
HSV | 242.8°, 42.8, 59.6 |
XYZ | 13.292, 11.257, 31.178 |
---|---|
Hunter Lab | 33.551, 12.001, -31.61 |
CIE-LAB | 40.01, 18.107, -35.255 |
CIE-LCH | 40.01, 39.633, 297.185 |
CIE-LUV | 40.79, 42.76, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5a5798
CMYK percent of color #5a5798
Text with hexadecimal color #5a5798
This text has a font color of #5a5798
<p style="color:#5a5798">Text here</p>
#5a5798 Background Color
This box has a background color of #5a5798
<div style="background-color:#5a5798">Text here</div>
#5a5798 Border Color
This box has a border color of #5a5798
<div style="border: 4px solid #5a5798">Text here</div>
CSS codes
<p style="color:#5a5798">Text here</p>
<div style="background-color:#5a5798">Text here</div>
<div style="border: 4px solid #5a5798">Text here</div>
#5a5798 Color on white background
This is how a font and box color of #5a5798 will look
on a white background.
#5a5798 Color on black background
This is how a font and box color of #5a5798 hex color will look
on a black background.