In RGB color space, #5b40c1 hex color has a red value of 91, a green value of 64 and a blue value of 193.
In CMYK color space (used in color printing), #5b40c1 hex color is composed of 52.85% cyan, 66.84% magenta, 0% yellow and 24.31% black.
#5b40c1 color has a hue of 252.6 degrees, a saturation of 50.99% and a lightness of 50.4%.
#5b40c1 hex color contains mainly BLUE.
The closest web safe color of #5b40c1 is #6633cc
#5b40c1 hex color has a decimal value of 5980353.
HEX | 5b40c1 | #5b40c1 |
---|---|---|
RGB | 91, 64, 193 | rgb(91, 64, 193) |
RGB Percent | 35.69, 25.1, 75.69 | rgb(35.69, 25.1, 75.69) |
CMYK | 53, 67, 0, 24 | |
HSL | 252.6°, 50.99, 50.4 | hsl(252.6, 50.99%, 50.4%) |
HSV | 252.6°, 66.8, 75.7 |
XYZ | 15.773, 9.741, 51.501 |
---|---|
Hunter Lab | 31.211, 35.591, -75.988 |
CIE-LAB | 37.374, 44.707, -63.806 |
CIE-LCH | 37.374, 77.91, 305.018 |
CIE-LUV | 52.85, 66.84, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #5b40c1
CMYK percent of color #5b40c1
Text with hexadecimal color #5b40c1
This text has a font color of #5b40c1
<p style="color:#5b40c1">Text here</p>
#5b40c1 Background Color
This box has a background color of #5b40c1
<div style="background-color:#5b40c1">Text here</div>
#5b40c1 Border Color
This box has a border color of #5b40c1
<div style="border: 4px solid #5b40c1">Text here</div>
CSS codes
<p style="color:#5b40c1">Text here</p>
<div style="background-color:#5b40c1">Text here</div>
<div style="border: 4px solid #5b40c1">Text here</div>
#5b40c1 Color on white background
This is how a font and box color of #5b40c1 will look
on a white background.
#5b40c1 Color on black background
This is how a font and box color of #5b40c1 hex color will look
on a black background.