In RGB color space, #5b40c7 hex color has a red value of 91, a green value of 64 and a blue value of 199.
In CMYK color space (used in color printing), #5b40c7 hex color is composed of 54.27% cyan, 67.84% magenta, 0% yellow and 21.96% black.
#5b40c7 color has a hue of 252 degrees, a saturation of 54.66% and a lightness of 51.6%.
#5b40c7 hex color contains mainly BLUE.
The closest web safe color of #5b40c7 is #6633cc
#5b40c7 hex color has a decimal value of 5980359.
HEX | 5b40c7 | #5b40c7 |
---|---|---|
RGB | 91, 64, 199 | rgb(91, 64, 199) |
RGB Percent | 35.69, 25.1, 78.04 | rgb(35.69, 25.1, 78.04) |
CMYK | 54, 68, 0, 22 | |
HSL | 252°, 54.66, 51.6 | hsl(252, 54.66%, 51.6%) |
HSV | 252°, 67.8, 78 |
XYZ | 16.457, 10.014, 55.098 |
---|---|
Hunter Lab | 31.645, 37.451, -81.08 |
CIE-LAB | 37.868, 46.493, -66.501 |
CIE-LCH | 37.868, 81.142, 304.959 |
CIE-LUV | 54.27, 67.84, 0, 21.96 |
Web Safe | 6633cc |
RGB percent of color #5b40c7
CMYK percent of color #5b40c7
Text with hexadecimal color #5b40c7
This text has a font color of #5b40c7
<p style="color:#5b40c7">Text here</p>
#5b40c7 Background Color
This box has a background color of #5b40c7
<div style="background-color:#5b40c7">Text here</div>
#5b40c7 Border Color
This box has a border color of #5b40c7
<div style="border: 4px solid #5b40c7">Text here</div>
CSS codes
<p style="color:#5b40c7">Text here</p>
<div style="background-color:#5b40c7">Text here</div>
<div style="border: 4px solid #5b40c7">Text here</div>
#5b40c7 Color on white background
This is how a font and box color of #5b40c7 will look
on a white background.
#5b40c7 Color on black background
This is how a font and box color of #5b40c7 hex color will look
on a black background.