In RGB color space, #5a54a2 hex color has a red value of 90, a green value of 84 and a blue value of 162.
In CMYK color space (used in color printing), #5a54a2 hex color is composed of 44.44% cyan, 48.15% magenta, 0% yellow and 36.47% black.
#5a54a2 color has a hue of 244.6 degrees, a saturation of 31.71% and a lightness of 48.2%.
#5a54a2 hex color contains mainly BLUE.
The closest web safe color of #5a54a2 is #666699
#5a54a2 hex color has a decimal value of 5919906.
HEX | 5a54a2 | #5a54a2 |
---|---|---|
RGB | 90, 84, 162 | rgb(90, 84, 162) |
RGB Percent | 35.29, 32.94, 63.53 | rgb(35.29, 32.94, 63.53) |
CMYK | 44, 48, 0, 36 | |
HSL | 244.6°, 31.71, 48.2 | hsl(244.6, 31.71%, 48.2%) |
HSV | 244.6°, 48.1, 63.5 |
XYZ | 13.908, 11.123, 35.596 |
---|---|
Hunter Lab | 33.351, 16.073, -39.935 |
CIE-LAB | 39.787, 23.018, -41.593 |
CIE-LCH | 39.787, 47.537, 298.961 |
CIE-LUV | 44.44, 48.15, 0, 36.47 |
Web Safe | 666699 |
RGB percent of color #5a54a2
CMYK percent of color #5a54a2
Text with hexadecimal color #5a54a2
This text has a font color of #5a54a2
<p style="color:#5a54a2">Text here</p>
#5a54a2 Background Color
This box has a background color of #5a54a2
<div style="background-color:#5a54a2">Text here</div>
#5a54a2 Border Color
This box has a border color of #5a54a2
<div style="border: 4px solid #5a54a2">Text here</div>
CSS codes
<p style="color:#5a54a2">Text here</p>
<div style="background-color:#5a54a2">Text here</div>
<div style="border: 4px solid #5a54a2">Text here</div>
#5a54a2 Color on white background
This is how a font and box color of #5a54a2 will look
on a white background.
#5a54a2 Color on black background
This is how a font and box color of #5a54a2 hex color will look
on a black background.