In RGB color space, #5a5c97 hex color has a red value of 90, a green value of 92 and a blue value of 151.
In CMYK color space (used in color printing), #5a5c97 hex color is composed of 40.4% cyan, 39.07% magenta, 0% yellow and 40.78% black.
#5a5c97 color has a hue of 238 degrees, a saturation of 25.31% and a lightness of 47.3%.
#5a5c97 hex color contains mainly BLUE.
The closest web safe color of #5a5c97 is #666699
#5a5c97 hex color has a decimal value of 5921943.
HEX | 5a5c97 | #5a5c97 |
---|---|---|
RGB | 90, 92, 151 | rgb(90, 92, 151) |
RGB Percent | 35.29, 36.08, 59.22 | rgb(35.29, 36.08, 59.22) |
CMYK | 40, 39, 0, 41 | |
HSL | 238°, 25.31, 47.3 | hsl(238, 25.31%, 47.3%) |
HSV | 238°, 40.4, 59.2 |
XYZ | 13.63, 12.062, 30.888 |
---|---|
Hunter Lab | 34.73, 9.274, -28.419 |
CIE-LAB | 41.314, 14.666, -32.595 |
CIE-LCH | 41.314, 35.742, 294.225 |
CIE-LUV | 40.4, 39.07, 0, 40.78 |
Web Safe | 666699 |
RGB percent of color #5a5c97
CMYK percent of color #5a5c97
Text with hexadecimal color #5a5c97
This text has a font color of #5a5c97
<p style="color:#5a5c97">Text here</p>
#5a5c97 Background Color
This box has a background color of #5a5c97
<div style="background-color:#5a5c97">Text here</div>
#5a5c97 Border Color
This box has a border color of #5a5c97
<div style="border: 4px solid #5a5c97">Text here</div>
CSS codes
<p style="color:#5a5c97">Text here</p>
<div style="background-color:#5a5c97">Text here</div>
<div style="border: 4px solid #5a5c97">Text here</div>
#5a5c97 Color on white background
This is how a font and box color of #5a5c97 will look
on a white background.
#5a5c97 Color on black background
This is how a font and box color of #5a5c97 hex color will look
on a black background.