In RGB color space, #5f40bd hex color has a red value of 95, a green value of 64 and a blue value of 189.
In CMYK color space (used in color printing), #5f40bd hex color is composed of 49.74% cyan, 66.14% magenta, 0% yellow and 25.88% black.
#5f40bd color has a hue of 254.9 degrees, a saturation of 49.41% and a lightness of 49.6%.
#5f40bd hex color contains mainly BLUE.
The closest web safe color of #5f40bd is #6633cc
#5f40bd hex color has a decimal value of 6242493.
HEX | 5f40bd | #5f40bd |
---|---|---|
RGB | 95, 64, 189 | rgb(95, 64, 189) |
RGB Percent | 37.25, 25.1, 74.12 | rgb(37.25, 25.1, 74.12) |
CMYK | 50, 66, 0, 26 | |
HSL | 254.9°, 49.41, 49.6 | hsl(254.9, 49.41%, 49.6%) |
HSV | 254.9°, 66.1, 74.1 |
XYZ | 15.738, 9.774, 49.201 |
---|---|
Hunter Lab | 31.263, 35.146, -71.424 |
CIE-LAB | 37.434, 44.244, -61.347 |
CIE-LCH | 37.434, 75.637, 305.799 |
CIE-LUV | 49.74, 66.14, 0, 25.88 |
Web Safe | 6633cc |
RGB percent of color #5f40bd
CMYK percent of color #5f40bd
Text with hexadecimal color #5f40bd
This text has a font color of #5f40bd
<p style="color:#5f40bd">Text here</p>
#5f40bd Background Color
This box has a background color of #5f40bd
<div style="background-color:#5f40bd">Text here</div>
#5f40bd Border Color
This box has a border color of #5f40bd
<div style="border: 4px solid #5f40bd">Text here</div>
CSS codes
<p style="color:#5f40bd">Text here</p>
<div style="background-color:#5f40bd">Text here</div>
<div style="border: 4px solid #5f40bd">Text here</div>
#5f40bd Color on white background
This is how a font and box color of #5f40bd will look
on a white background.
#5f40bd Color on black background
This is how a font and box color of #5f40bd hex color will look
on a black background.