In RGB color space, #5a51e8 hex color has a red value of 90, a green value of 81 and a blue value of 232.
In CMYK color space (used in color printing), #5a51e8 hex color is composed of 61.21% cyan, 65.09% magenta, 0% yellow and 9.02% black.
#5a51e8 color has a hue of 243.6 degrees, a saturation of 76.65% and a lightness of 61.4%.
#5a51e8 hex color contains mainly BLUE.
The closest web safe color of #5a51e8 is #6666ff
#5a51e8 hex color has a decimal value of 5919208.
HEX | 5a51e8 | #5a51e8 |
---|---|---|
RGB | 90, 81, 232 | rgb(90, 81, 232) |
RGB Percent | 35.29, 31.76, 90.98 | rgb(35.29, 31.76, 90.98) |
CMYK | 61, 65, 0, 9 | |
HSL | 243.6°, 76.65, 61.4 | hsl(243.6, 76.65%, 61.4%) |
HSV | 243.6°, 65.1, 91 |
XYZ | 21.724, 13.885, 77.879 |
---|---|
Hunter Lab | 37.263, 38.856, -97.833 |
CIE-LAB | 44.068, 46.794, -75.297 |
CIE-LCH | 44.068, 88.653, 301.859 |
CIE-LUV | 61.21, 65.09, 0, 9.02 |
Web Safe | 6666ff |
RGB percent of color #5a51e8
CMYK percent of color #5a51e8
Text with hexadecimal color #5a51e8
This text has a font color of #5a51e8
<p style="color:#5a51e8">Text here</p>
#5a51e8 Background Color
This box has a background color of #5a51e8
<div style="background-color:#5a51e8">Text here</div>
#5a51e8 Border Color
This box has a border color of #5a51e8
<div style="border: 4px solid #5a51e8">Text here</div>
CSS codes
<p style="color:#5a51e8">Text here</p>
<div style="background-color:#5a51e8">Text here</div>
<div style="border: 4px solid #5a51e8">Text here</div>
#5a51e8 Color on white background
This is how a font and box color of #5a51e8 will look
on a white background.
#5a51e8 Color on black background
This is how a font and box color of #5a51e8 hex color will look
on a black background.