In RGB color space, #5a51b3 hex color has a red value of 90, a green value of 81 and a blue value of 179.
In CMYK color space (used in color printing), #5a51b3 hex color is composed of 49.72% cyan, 54.75% magenta, 0% yellow and 29.8% black.
#5a51b3 color has a hue of 245.5 degrees, a saturation of 39.2% and a lightness of 51%.
#5a51b3 hex color contains mainly BLUE.
The closest web safe color of #5a51b3 is #6666cc
#5a51b3 hex color has a decimal value of 5919155.
HEX | 5a51b3 | #5a51b3 |
---|---|---|
RGB | 90, 81, 179 | rgb(90, 81, 179) |
RGB Percent | 35.29, 31.76, 70.2 | rgb(35.29, 31.76, 70.2) |
CMYK | 50, 55, 0, 30 | |
HSL | 245.5°, 39.2, 51 | hsl(245.5, 39.2%, 51%) |
HSV | 245.5°, 54.7, 70.2 |
XYZ | 15.296, 11.313, 44.025 |
---|---|
Hunter Lab | 33.635, 22.315, -54.061 |
CIE-LAB | 40.103, 30.145, -51.163 |
CIE-LCH | 40.103, 59.383, 300.506 |
CIE-LUV | 49.72, 54.75, 0, 29.8 |
Web Safe | 6666cc |
RGB percent of color #5a51b3
CMYK percent of color #5a51b3
Text with hexadecimal color #5a51b3
This text has a font color of #5a51b3
<p style="color:#5a51b3">Text here</p>
#5a51b3 Background Color
This box has a background color of #5a51b3
<div style="background-color:#5a51b3">Text here</div>
#5a51b3 Border Color
This box has a border color of #5a51b3
<div style="border: 4px solid #5a51b3">Text here</div>
CSS codes
<p style="color:#5a51b3">Text here</p>
<div style="background-color:#5a51b3">Text here</div>
<div style="border: 4px solid #5a51b3">Text here</div>
#5a51b3 Color on white background
This is how a font and box color of #5a51b3 will look
on a white background.
#5a51b3 Color on black background
This is how a font and box color of #5a51b3 hex color will look
on a black background.