In RGB color space, #5a51b4 hex color has a red value of 90, a green value of 81 and a blue value of 180.
In CMYK color space (used in color printing), #5a51b4 hex color is composed of 50% cyan, 55% magenta, 0% yellow and 29.41% black.
#5a51b4 color has a hue of 245.5 degrees, a saturation of 39.76% and a lightness of 51.2%.
#5a51b4 hex color contains mainly BLUE.
The closest web safe color of #5a51b4 is #6666cc
#5a51b4 hex color has a decimal value of 5919156.
HEX | 5a51b4 | #5a51b4 |
---|---|---|
RGB | 90, 81, 180 | rgb(90, 81, 180) |
RGB Percent | 35.29, 31.76, 70.59 | rgb(35.29, 31.76, 70.59) |
CMYK | 50, 55, 0, 29 | |
HSL | 245.5°, 39.76, 51.2 | hsl(245.5, 39.76%, 51.2%) |
HSV | 245.5°, 55, 70.6 |
XYZ | 15.397, 11.354, 44.56 |
---|---|
Hunter Lab | 33.696, 22.597, -54.82 |
CIE-LAB | 40.17, 30.451, -51.643 |
CIE-LCH | 40.17, 59.952, 300.525 |
CIE-LUV | 50, 55, 0, 29.41 |
Web Safe | 6666cc |
RGB percent of color #5a51b4
CMYK percent of color #5a51b4
Text with hexadecimal color #5a51b4
This text has a font color of #5a51b4
<p style="color:#5a51b4">Text here</p>
#5a51b4 Background Color
This box has a background color of #5a51b4
<div style="background-color:#5a51b4">Text here</div>
#5a51b4 Border Color
This box has a border color of #5a51b4
<div style="border: 4px solid #5a51b4">Text here</div>
CSS codes
<p style="color:#5a51b4">Text here</p>
<div style="background-color:#5a51b4">Text here</div>
<div style="border: 4px solid #5a51b4">Text here</div>
#5a51b4 Color on white background
This is how a font and box color of #5a51b4 will look
on a white background.
#5a51b4 Color on black background
This is how a font and box color of #5a51b4 hex color will look
on a black background.