In RGB color space, #5b51c5 hex color has a red value of 91, a green value of 81 and a blue value of 197.
In CMYK color space (used in color printing), #5b51c5 hex color is composed of 53.81% cyan, 58.88% magenta, 0% yellow and 22.75% black.
#5b51c5 color has a hue of 245.2 degrees, a saturation of 50% and a lightness of 54.5%.
#5b51c5 hex color contains mainly BLUE.
The closest web safe color of #5b51c5 is #6666cc
#5b51c5 hex color has a decimal value of 5984709.
HEX | 5b51c5 | #5b51c5 |
---|---|---|
RGB | 91, 81, 197 | rgb(91, 81, 197) |
RGB Percent | 35.69, 31.76, 77.25 | rgb(35.69, 31.76, 77.25) |
CMYK | 54, 59, 0, 23 | |
HSL | 245.2°, 50, 54.5 | hsl(245.2, 50%, 54.5%) |
HSV | 245.2°, 58.9, 77.3 |
XYZ | 17.335, 12.14, 54.253 |
---|---|
Hunter Lab | 34.843, 27.834, -67.93 |
CIE-LAB | 41.438, 35.975, -59.526 |
CIE-LCH | 41.438, 69.552, 301.147 |
CIE-LUV | 53.81, 58.88, 0, 22.75 |
Web Safe | 6666cc |
RGB percent of color #5b51c5
CMYK percent of color #5b51c5
Text with hexadecimal color #5b51c5
This text has a font color of #5b51c5
<p style="color:#5b51c5">Text here</p>
#5b51c5 Background Color
This box has a background color of #5b51c5
<div style="background-color:#5b51c5">Text here</div>
#5b51c5 Border Color
This box has a border color of #5b51c5
<div style="border: 4px solid #5b51c5">Text here</div>
CSS codes
<p style="color:#5b51c5">Text here</p>
<div style="background-color:#5b51c5">Text here</div>
<div style="border: 4px solid #5b51c5">Text here</div>
#5b51c5 Color on white background
This is how a font and box color of #5b51c5 will look
on a white background.
#5b51c5 Color on black background
This is how a font and box color of #5b51c5 hex color will look
on a black background.