In RGB color space, #5f40b7 hex color has a red value of 95, a green value of 64 and a blue value of 183.
In CMYK color space (used in color printing), #5f40b7 hex color is composed of 48.09% cyan, 65.03% magenta, 0% yellow and 28.24% black.
#5f40b7 color has a hue of 255.6 degrees, a saturation of 48.18% and a lightness of 48.4%.
#5f40b7 hex color contains mainly BLUE.
The closest web safe color of #5f40b7 is #6633cc
#5f40b7 hex color has a decimal value of 6242487.
HEX | 5f40b7 | #5f40b7 |
---|---|---|
RGB | 95, 64, 183 | rgb(95, 64, 183) |
RGB Percent | 37.25, 25.1, 71.76 | rgb(37.25, 25.1, 71.76) |
CMYK | 48, 65, 0, 28 | |
HSL | 255.6°, 48.18, 48.4 | hsl(255.6, 48.18%, 48.4%) |
HSV | 255.6°, 65, 71.8 |
XYZ | 15.1, 9.519, 45.841 |
---|---|
Hunter Lab | 30.853, 33.369, -66.496 |
CIE-LAB | 36.965, 42.503, -58.579 |
CIE-LCH | 36.965, 72.374, 305.963 |
CIE-LUV | 48.09, 65.03, 0, 28.24 |
Web Safe | 6633cc |
RGB percent of color #5f40b7
CMYK percent of color #5f40b7
Text with hexadecimal color #5f40b7
This text has a font color of #5f40b7
<p style="color:#5f40b7">Text here</p>
#5f40b7 Background Color
This box has a background color of #5f40b7
<div style="background-color:#5f40b7">Text here</div>
#5f40b7 Border Color
This box has a border color of #5f40b7
<div style="border: 4px solid #5f40b7">Text here</div>
CSS codes
<p style="color:#5f40b7">Text here</p>
<div style="background-color:#5f40b7">Text here</div>
<div style="border: 4px solid #5f40b7">Text here</div>
#5f40b7 Color on white background
This is how a font and box color of #5f40b7 will look
on a white background.
#5f40b7 Color on black background
This is how a font and box color of #5f40b7 hex color will look
on a black background.