In RGB color space, #5f40b4 hex color has a red value of 95, a green value of 64 and a blue value of 180.
In CMYK color space (used in color printing), #5f40b4 hex color is composed of 47.22% cyan, 64.44% magenta, 0% yellow and 29.41% black.
#5f40b4 color has a hue of 256 degrees, a saturation of 47.54% and a lightness of 47.8%.
#5f40b4 hex color contains mainly BLUE.
The closest web safe color of #5f40b4 is #6633cc
#5f40b4 hex color has a decimal value of 6242484.
HEX | 5f40b4 | #5f40b4 |
---|---|---|
RGB | 95, 64, 180 | rgb(95, 64, 180) |
RGB Percent | 37.25, 25.1, 70.59 | rgb(37.25, 25.1, 70.59) |
CMYK | 47, 64, 0, 29 | |
HSL | 256°, 47.54, 47.8 | hsl(256, 47.54%, 47.8%) |
HSV | 256°, 64.4, 70.6 |
XYZ | 14.791, 9.395, 44.214 |
---|---|
Hunter Lab | 30.651, 32.497, -64.069 |
CIE-LAB | 36.734, 41.639, -57.182 |
CIE-LCH | 36.734, 70.736, 306.061 |
CIE-LUV | 47.22, 64.44, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #5f40b4
CMYK percent of color #5f40b4
Text with hexadecimal color #5f40b4
This text has a font color of #5f40b4
<p style="color:#5f40b4">Text here</p>
#5f40b4 Background Color
This box has a background color of #5f40b4
<div style="background-color:#5f40b4">Text here</div>
#5f40b4 Border Color
This box has a border color of #5f40b4
<div style="border: 4px solid #5f40b4">Text here</div>
CSS codes
<p style="color:#5f40b4">Text here</p>
<div style="background-color:#5f40b4">Text here</div>
<div style="border: 4px solid #5f40b4">Text here</div>
#5f40b4 Color on white background
This is how a font and box color of #5f40b4 will look
on a white background.
#5f40b4 Color on black background
This is how a font and box color of #5f40b4 hex color will look
on a black background.