In RGB color space, #5f40bf hex color has a red value of 95, a green value of 64 and a blue value of 191.
In CMYK color space (used in color printing), #5f40bf hex color is composed of 50.26% cyan, 66.49% magenta, 0% yellow and 25.1% black.
#5f40bf color has a hue of 254.6 degrees, a saturation of 49.8% and a lightness of 50%.
#5f40bf hex color contains mainly BLUE.
The closest web safe color of #5f40bf is #6633cc
#5f40bf hex color has a decimal value of 6242495.
HEX | 5f40bf | #5f40bf |
---|---|---|
RGB | 95, 64, 191 | rgb(95, 64, 191) |
RGB Percent | 37.25, 25.1, 74.9 | rgb(37.25, 25.1, 74.9) |
CMYK | 50, 66, 0, 25 | |
HSL | 254.6°, 49.8, 50 | hsl(254.6, 49.8%, 50%) |
HSV | 254.6°, 66.5, 74.9 |
XYZ | 15.957, 9.861, 50.353 |
---|---|
Hunter Lab | 31.402, 35.751, -73.089 |
CIE-LAB | 37.592, 44.831, -62.263 |
CIE-LCH | 37.592, 76.724, 305.755 |
CIE-LUV | 50.26, 66.49, 0, 25.1 |
Web Safe | 6633cc |
RGB percent of color #5f40bf
CMYK percent of color #5f40bf
Text with hexadecimal color #5f40bf
This text has a font color of #5f40bf
<p style="color:#5f40bf">Text here</p>
#5f40bf Background Color
This box has a background color of #5f40bf
<div style="background-color:#5f40bf">Text here</div>
#5f40bf Border Color
This box has a border color of #5f40bf
<div style="border: 4px solid #5f40bf">Text here</div>
CSS codes
<p style="color:#5f40bf">Text here</p>
<div style="background-color:#5f40bf">Text here</div>
<div style="border: 4px solid #5f40bf">Text here</div>
#5f40bf Color on white background
This is how a font and box color of #5f40bf will look
on a white background.
#5f40bf Color on black background
This is how a font and box color of #5f40bf hex color will look
on a black background.