In RGB color space, #5f40b5 hex color has a red value of 95, a green value of 64 and a blue value of 181.
In CMYK color space (used in color printing), #5f40b5 hex color is composed of 47.51% cyan, 64.64% magenta, 0% yellow and 29.02% black.
#5f40b5 color has a hue of 255.9 degrees, a saturation of 47.76% and a lightness of 48%.
#5f40b5 hex color contains mainly BLUE.
The closest web safe color of #5f40b5 is #6633cc
#5f40b5 hex color has a decimal value of 6242485.
HEX | 5f40b5 | #5f40b5 |
---|---|---|
RGB | 95, 64, 181 | rgb(95, 64, 181) |
RGB Percent | 37.25, 25.1, 70.98 | rgb(37.25, 25.1, 70.98) |
CMYK | 48, 65, 0, 29 | |
HSL | 255.9°, 47.76, 48 | hsl(255.9, 47.76%, 48%) |
HSV | 255.9°, 64.6, 71 |
XYZ | 14.893, 9.436, 44.752 |
---|---|
Hunter Lab | 30.718, 32.785, -64.875 |
CIE-LAB | 36.811, 41.926, -57.648 |
CIE-LCH | 36.811, 71.282, 306.027 |
CIE-LUV | 47.51, 64.64, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #5f40b5
CMYK percent of color #5f40b5
Text with hexadecimal color #5f40b5
This text has a font color of #5f40b5
<p style="color:#5f40b5">Text here</p>
#5f40b5 Background Color
This box has a background color of #5f40b5
<div style="background-color:#5f40b5">Text here</div>
#5f40b5 Border Color
This box has a border color of #5f40b5
<div style="border: 4px solid #5f40b5">Text here</div>
CSS codes
<p style="color:#5f40b5">Text here</p>
<div style="background-color:#5f40b5">Text here</div>
<div style="border: 4px solid #5f40b5">Text here</div>
#5f40b5 Color on white background
This is how a font and box color of #5f40b5 will look
on a white background.
#5f40b5 Color on black background
This is how a font and box color of #5f40b5 hex color will look
on a black background.