In RGB color space, #5a5d98 hex color has a red value of 90, a green value of 93 and a blue value of 152.
In CMYK color space (used in color printing), #5a5d98 hex color is composed of 40.79% cyan, 38.82% magenta, 0% yellow and 40.39% black.
#5a5d98 color has a hue of 237.1 degrees, a saturation of 25.62% and a lightness of 47.5%.
#5a5d98 hex color contains mainly BLUE.
The closest web safe color of #5a5d98 is #666699
#5a5d98 hex color has a decimal value of 5922200.
HEX | 5a5d98 | #5a5d98 |
---|---|---|
RGB | 90, 93, 152 | rgb(90, 93, 152) |
RGB Percent | 35.29, 36.47, 59.61 | rgb(35.29, 36.47, 59.61) |
CMYK | 41, 39, 0, 40 | |
HSL | 237.1°, 25.62, 47.5 | hsl(237.1, 25.62%, 47.5%) |
HSV | 237.1°, 40.8, 59.6 |
XYZ | 13.798, 12.269, 31.347 |
---|---|
Hunter Lab | 35.027, 9.018, -28.542 |
CIE-LAB | 41.64, 14.332, -32.681 |
CIE-LCH | 41.64, 35.685, 293.679 |
CIE-LUV | 40.79, 38.82, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5a5d98
CMYK percent of color #5a5d98
Text with hexadecimal color #5a5d98
This text has a font color of #5a5d98
<p style="color:#5a5d98">Text here</p>
#5a5d98 Background Color
This box has a background color of #5a5d98
<div style="background-color:#5a5d98">Text here</div>
#5a5d98 Border Color
This box has a border color of #5a5d98
<div style="border: 4px solid #5a5d98">Text here</div>
CSS codes
<p style="color:#5a5d98">Text here</p>
<div style="background-color:#5a5d98">Text here</div>
<div style="border: 4px solid #5a5d98">Text here</div>
#5a5d98 Color on white background
This is how a font and box color of #5a5d98 will look
on a white background.
#5a5d98 Color on black background
This is how a font and box color of #5a5d98 hex color will look
on a black background.