In RGB color space, #5b51ab hex color has a red value of 91, a green value of 81 and a blue value of 171.
In CMYK color space (used in color printing), #5b51ab hex color is composed of 46.78% cyan, 52.63% magenta, 0% yellow and 32.94% black.
#5b51ab color has a hue of 246.7 degrees, a saturation of 35.71% and a lightness of 49.4%.
#5b51ab hex color contains mainly BLUE.
The closest web safe color of #5b51ab is #666699
#5b51ab hex color has a decimal value of 5984683.
HEX | 5b51ab | #5b51ab |
---|---|---|
RGB | 91, 81, 171 | rgb(91, 81, 171) |
RGB Percent | 35.69, 31.76, 67.06 | rgb(35.69, 31.76, 67.06) |
CMYK | 47, 53, 0, 33 | |
HSL | 246.7°, 35.71, 49.4 | hsl(246.7, 35.71%, 49.4%) |
HSV | 246.7°, 52.6, 67.1 |
XYZ | 14.607, 11.049, 39.891 |
---|---|
Hunter Lab | 33.24, 20.27, -47.885 |
CIE-LAB | 39.663, 27.895, -47.139 |
CIE-LCH | 39.663, 54.774, 300.615 |
CIE-LUV | 46.78, 52.63, 0, 32.94 |
Web Safe | 666699 |
RGB percent of color #5b51ab
CMYK percent of color #5b51ab
Text with hexadecimal color #5b51ab
This text has a font color of #5b51ab
<p style="color:#5b51ab">Text here</p>
#5b51ab Background Color
This box has a background color of #5b51ab
<div style="background-color:#5b51ab">Text here</div>
#5b51ab Border Color
This box has a border color of #5b51ab
<div style="border: 4px solid #5b51ab">Text here</div>
CSS codes
<p style="color:#5b51ab">Text here</p>
<div style="background-color:#5b51ab">Text here</div>
<div style="border: 4px solid #5b51ab">Text here</div>
#5b51ab Color on white background
This is how a font and box color of #5b51ab will look
on a white background.
#5b51ab Color on black background
This is how a font and box color of #5b51ab hex color will look
on a black background.