In RGB color space, #5b40b0 hex color has a red value of 91, a green value of 64 and a blue value of 176.
In CMYK color space (used in color printing), #5b40b0 hex color is composed of 48.3% cyan, 63.64% magenta, 0% yellow and 30.98% black.
#5b40b0 color has a hue of 254.5 degrees, a saturation of 46.67% and a lightness of 47.1%.
#5b40b0 hex color contains mainly BLUE.
The closest web safe color of #5b40b0 is #663399
#5b40b0 hex color has a decimal value of 5980336.
HEX | 5b40b0 | #5b40b0 |
---|---|---|
RGB | 91, 64, 176 | rgb(91, 64, 176) |
RGB Percent | 35.69, 25.1, 69.02 | rgb(35.69, 25.1, 69.02) |
CMYK | 48, 64, 0, 31 | |
HSL | 254.5°, 46.67, 47.1 | hsl(254.5, 46.67%, 47.1%) |
HSV | 254.5°, 63.6, 69 |
XYZ | 13.984, 9.026, 42.079 |
---|---|
Hunter Lab | 30.043, 30.509, -62.012 |
CIE-LAB | 36.034, 39.672, -55.965 |
CIE-LCH | 36.034, 68.6, 305.332 |
CIE-LUV | 48.3, 63.64, 0, 30.98 |
Web Safe | 663399 |
RGB percent of color #5b40b0
CMYK percent of color #5b40b0
Text with hexadecimal color #5b40b0
This text has a font color of #5b40b0
<p style="color:#5b40b0">Text here</p>
#5b40b0 Background Color
This box has a background color of #5b40b0
<div style="background-color:#5b40b0">Text here</div>
#5b40b0 Border Color
This box has a border color of #5b40b0
<div style="border: 4px solid #5b40b0">Text here</div>
CSS codes
<p style="color:#5b40b0">Text here</p>
<div style="background-color:#5b40b0">Text here</div>
<div style="border: 4px solid #5b40b0">Text here</div>
#5b40b0 Color on white background
This is how a font and box color of #5b40b0 will look
on a white background.
#5b40b0 Color on black background
This is how a font and box color of #5b40b0 hex color will look
on a black background.