In RGB color space, #5a56b2 hex color has a red value of 90, a green value of 86 and a blue value of 178.
In CMYK color space (used in color printing), #5a56b2 hex color is composed of 49.44% cyan, 51.69% magenta, 0% yellow and 30.2% black.
#5a56b2 color has a hue of 242.6 degrees, a saturation of 37.4% and a lightness of 51.8%.
#5a56b2 hex color contains mainly BLUE.
The closest web safe color of #5a56b2 is #666699
#5a56b2 hex color has a decimal value of 5920434.
HEX | 5a56b2 | #5a56b2 |
---|---|---|
RGB | 90, 86, 178 | rgb(90, 86, 178) |
RGB Percent | 35.29, 33.73, 69.8 | rgb(35.29, 33.73, 69.8) |
CMYK | 49, 52, 0, 30 | |
HSL | 242.6°, 37.4, 51.8 | hsl(242.6, 37.4%, 51.8%) |
HSV | 242.6°, 51.7, 69.8 |
XYZ | 15.58, 12.044, 43.623 |
---|---|
Hunter Lab | 34.704, 19.402, -50.234 |
CIE-LAB | 41.286, 26.718, -48.671 |
CIE-LCH | 41.286, 55.522, 298.765 |
CIE-LUV | 49.44, 51.69, 0, 30.2 |
Web Safe | 666699 |
RGB percent of color #5a56b2
CMYK percent of color #5a56b2
Text with hexadecimal color #5a56b2
This text has a font color of #5a56b2
<p style="color:#5a56b2">Text here</p>
#5a56b2 Background Color
This box has a background color of #5a56b2
<div style="background-color:#5a56b2">Text here</div>
#5a56b2 Border Color
This box has a border color of #5a56b2
<div style="border: 4px solid #5a56b2">Text here</div>
CSS codes
<p style="color:#5a56b2">Text here</p>
<div style="background-color:#5a56b2">Text here</div>
<div style="border: 4px solid #5a56b2">Text here</div>
#5a56b2 Color on white background
This is how a font and box color of #5a56b2 will look
on a white background.
#5a56b2 Color on black background
This is how a font and box color of #5a56b2 hex color will look
on a black background.