In RGB color space, #5b51a2 hex color has a red value of 91, a green value of 81 and a blue value of 162.
In CMYK color space (used in color printing), #5b51a2 hex color is composed of 43.83% cyan, 50% magenta, 0% yellow and 36.47% black.
#5b51a2 color has a hue of 247.4 degrees, a saturation of 33.33% and a lightness of 47.6%.
#5b51a2 hex color contains mainly BLUE.
The closest web safe color of #5b51a2 is #666699
#5b51a2 hex color has a decimal value of 5984674.
HEX | 5b51a2 | #5b51a2 |
---|---|---|
RGB | 91, 81, 162 | rgb(91, 81, 162) |
RGB Percent | 35.69, 31.76, 63.53 | rgb(35.69, 31.76, 63.53) |
CMYK | 44, 50, 0, 36 | |
HSL | 247.4°, 33.33, 47.6 | hsl(247.4, 33.33%, 47.6%) |
HSV | 247.4°, 50, 63.5 |
XYZ | 13.778, 10.718, 35.525 |
---|---|
Hunter Lab | 32.738, 17.83, -41.42 |
CIE-LAB | 39.101, 25.149, -42.683 |
CIE-LCH | 39.101, 49.541, 300.507 |
CIE-LUV | 43.83, 50, 0, 36.47 |
Web Safe | 666699 |
RGB percent of color #5b51a2
CMYK percent of color #5b51a2
Text with hexadecimal color #5b51a2
This text has a font color of #5b51a2
<p style="color:#5b51a2">Text here</p>
#5b51a2 Background Color
This box has a background color of #5b51a2
<div style="background-color:#5b51a2">Text here</div>
#5b51a2 Border Color
This box has a border color of #5b51a2
<div style="border: 4px solid #5b51a2">Text here</div>
CSS codes
<p style="color:#5b51a2">Text here</p>
<div style="background-color:#5b51a2">Text here</div>
<div style="border: 4px solid #5b51a2">Text here</div>
#5b51a2 Color on white background
This is how a font and box color of #5b51a2 will look
on a white background.
#5b51a2 Color on black background
This is how a font and box color of #5b51a2 hex color will look
on a black background.