In RGB color space, #5b40ab hex color has a red value of 91, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #5b40ab hex color is composed of 46.78% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#5b40ab color has a hue of 255.1 degrees, a saturation of 45.53% and a lightness of 46.1%.
#5b40ab hex color contains mainly BLUE.
The closest web safe color of #5b40ab is #663399
#5b40ab hex color has a decimal value of 5980331.
HEX | 5b40ab | #5b40ab |
---|---|---|
RGB | 91, 64, 171 | rgb(91, 64, 171) |
RGB Percent | 35.69, 25.1, 67.06 | rgb(35.69, 25.1, 67.06) |
CMYK | 47, 63, 0, 33 | |
HSL | 255.1°, 45.53, 46.1 | hsl(255.1, 45.53%, 46.1%) |
HSV | 255.1°, 62.6, 67.1 |
XYZ | 13.498, 8.831, 39.521 |
---|---|
Hunter Lab | 29.717, 29.073, -58.049 |
CIE-LAB | 35.657, 38.205, -53.602 |
CIE-LCH | 35.657, 65.824, 305.479 |
CIE-LUV | 46.78, 62.57, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5b40ab
CMYK percent of color #5b40ab
Text with hexadecimal color #5b40ab
This text has a font color of #5b40ab
<p style="color:#5b40ab">Text here</p>
#5b40ab Background Color
This box has a background color of #5b40ab
<div style="background-color:#5b40ab">Text here</div>
#5b40ab Border Color
This box has a border color of #5b40ab
<div style="border: 4px solid #5b40ab">Text here</div>
CSS codes
<p style="color:#5b40ab">Text here</p>
<div style="background-color:#5b40ab">Text here</div>
<div style="border: 4px solid #5b40ab">Text here</div>
#5b40ab Color on white background
This is how a font and box color of #5b40ab will look
on a white background.
#5b40ab Color on black background
This is how a font and box color of #5b40ab hex color will look
on a black background.