In RGB color space, #5a5198 hex color has a red value of 90, a green value of 81 and a blue value of 152.
In CMYK color space (used in color printing), #5a5198 hex color is composed of 40.79% cyan, 46.71% magenta, 0% yellow and 40.39% black.
#5a5198 color has a hue of 247.6 degrees, a saturation of 30.47% and a lightness of 45.7%.
#5a5198 hex color contains mainly BLUE.
The closest web safe color of #5a5198 is #666699
#5a5198 hex color has a decimal value of 5919128.
HEX | 5a5198 | #5a5198 |
---|---|---|
RGB | 90, 81, 152 | rgb(90, 81, 152) |
RGB Percent | 35.29, 31.76, 59.61 | rgb(35.29, 31.76, 59.61) |
CMYK | 41, 47, 0, 40 | |
HSL | 247.6°, 30.47, 45.7 | hsl(247.6, 30.47%, 45.7%) |
HSV | 247.6°, 46.7, 59.6 |
XYZ | 12.826, 10.326, 31.023 |
---|---|
Hunter Lab | 32.134, 15.012, -34.746 |
CIE-LAB | 38.421, 21.886, -37.775 |
CIE-LCH | 38.421, 43.657, 300.087 |
CIE-LUV | 40.79, 46.71, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5a5198
CMYK percent of color #5a5198
Text with hexadecimal color #5a5198
This text has a font color of #5a5198
<p style="color:#5a5198">Text here</p>
#5a5198 Background Color
This box has a background color of #5a5198
<div style="background-color:#5a5198">Text here</div>
#5a5198 Border Color
This box has a border color of #5a5198
<div style="border: 4px solid #5a5198">Text here</div>
CSS codes
<p style="color:#5a5198">Text here</p>
<div style="background-color:#5a5198">Text here</div>
<div style="border: 4px solid #5a5198">Text here</div>
#5a5198 Color on white background
This is how a font and box color of #5a5198 will look
on a white background.
#5a5198 Color on black background
This is how a font and box color of #5a5198 hex color will look
on a black background.