In RGB color space, #5a5887 hex color has a red value of 90, a green value of 88 and a blue value of 135.
In CMYK color space (used in color printing), #5a5887 hex color is composed of 33.33% cyan, 34.81% magenta, 0% yellow and 47.06% black.
#5a5887 color has a hue of 242.6 degrees, a saturation of 21.08% and a lightness of 43.7%.
#5a5887 hex color contains mainly BLUE.
The closest web safe color of #5a5887 is #666699
#5a5887 hex color has a decimal value of 5920903.
HEX | 5a5887 | #5a5887 |
---|---|---|
RGB | 90, 88, 135 | rgb(90, 88, 135) |
RGB Percent | 35.29, 34.51, 52.94 | rgb(35.29, 34.51, 52.94) |
CMYK | 33, 35, 0, 47 | |
HSL | 242.6°, 21.08, 43.7 | hsl(242.6, 21.08%, 43.7%) |
HSV | 242.6°, 34.8, 52.9 |
XYZ | 12.079, 10.902, 24.389 |
---|---|
Hunter Lab | 33.018, 7.519, -20.682 |
CIE-LAB | 39.415, 12.525, -25.919 |
CIE-LCH | 39.415, 28.787, 295.792 |
CIE-LUV | 33.33, 34.81, 0, 47.06 |
Web Safe | 666699 |
RGB percent of color #5a5887
CMYK percent of color #5a5887
Text with hexadecimal color #5a5887
This text has a font color of #5a5887
<p style="color:#5a5887">Text here</p>
#5a5887 Background Color
This box has a background color of #5a5887
<div style="background-color:#5a5887">Text here</div>
#5a5887 Border Color
This box has a border color of #5a5887
<div style="border: 4px solid #5a5887">Text here</div>
CSS codes
<p style="color:#5a5887">Text here</p>
<div style="background-color:#5a5887">Text here</div>
<div style="border: 4px solid #5a5887">Text here</div>
#5a5887 Color on white background
This is how a font and box color of #5a5887 will look
on a white background.
#5a5887 Color on black background
This is how a font and box color of #5a5887 hex color will look
on a black background.