In RGB color space, #5b40b8 hex color has a red value of 91, a green value of 64 and a blue value of 184.
In CMYK color space (used in color printing), #5b40b8 hex color is composed of 50.54% cyan, 65.22% magenta, 0% yellow and 27.84% black.
#5b40b8 color has a hue of 253.5 degrees, a saturation of 48.39% and a lightness of 48.6%.
#5b40b8 hex color contains mainly BLUE.
The closest web safe color of #5b40b8 is #6633cc
#5b40b8 hex color has a decimal value of 5980344.
HEX | 5b40b8 | #5b40b8 |
---|---|---|
RGB | 91, 64, 184 | rgb(91, 64, 184) |
RGB Percent | 35.69, 25.1, 72.16 | rgb(35.69, 25.1, 72.16) |
CMYK | 51, 65, 0, 28 | |
HSL | 253.5°, 48.39, 48.6 | hsl(253.5, 48.39%, 48.6%) |
HSV | 253.5°, 65.2, 72.2 |
XYZ | 14.8, 9.352, 46.372 |
---|---|
Hunter Lab | 30.581, 32.87, -68.499 |
CIE-LAB | 36.653, 42.041, -59.692 |
CIE-LCH | 36.653, 73.011, 305.157 |
CIE-LUV | 50.54, 65.22, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #5b40b8
CMYK percent of color #5b40b8
Text with hexadecimal color #5b40b8
This text has a font color of #5b40b8
<p style="color:#5b40b8">Text here</p>
#5b40b8 Background Color
This box has a background color of #5b40b8
<div style="background-color:#5b40b8">Text here</div>
#5b40b8 Border Color
This box has a border color of #5b40b8
<div style="border: 4px solid #5b40b8">Text here</div>
CSS codes
<p style="color:#5b40b8">Text here</p>
<div style="background-color:#5b40b8">Text here</div>
<div style="border: 4px solid #5b40b8">Text here</div>
#5b40b8 Color on white background
This is how a font and box color of #5b40b8 will look
on a white background.
#5b40b8 Color on black background
This is how a font and box color of #5b40b8 hex color will look
on a black background.