In RGB color space, #5f40b3 hex color has a red value of 95, a green value of 64 and a blue value of 179.
In CMYK color space (used in color printing), #5f40b3 hex color is composed of 46.93% cyan, 64.25% magenta, 0% yellow and 29.8% black.
#5f40b3 color has a hue of 256.2 degrees, a saturation of 47.33% and a lightness of 47.6%.
#5f40b3 hex color contains mainly BLUE.
The closest web safe color of #5f40b3 is #6633cc
#5f40b3 hex color has a decimal value of 6242483.
HEX | 5f40b3 | #5f40b3 |
---|---|---|
RGB | 95, 64, 179 | rgb(95, 64, 179) |
RGB Percent | 37.25, 25.1, 70.2 | rgb(37.25, 25.1, 70.2) |
CMYK | 47, 64, 0, 30 | |
HSL | 256.2°, 47.33, 47.6 | hsl(256.2, 47.33%, 47.6%) |
HSV | 256.2°, 64.2, 70.2 |
XYZ | 14.689, 9.354, 43.679 |
---|---|
Hunter Lab | 30.584, 32.207, -63.266 |
CIE-LAB | 36.657, 41.351, -56.715 |
CIE-LCH | 36.657, 70.189, 306.096 |
CIE-LUV | 46.93, 64.25, 0, 29.8 |
Web Safe | 6633cc |
RGB percent of color #5f40b3
CMYK percent of color #5f40b3
Text with hexadecimal color #5f40b3
This text has a font color of #5f40b3
<p style="color:#5f40b3">Text here</p>
#5f40b3 Background Color
This box has a background color of #5f40b3
<div style="background-color:#5f40b3">Text here</div>
#5f40b3 Border Color
This box has a border color of #5f40b3
<div style="border: 4px solid #5f40b3">Text here</div>
CSS codes
<p style="color:#5f40b3">Text here</p>
<div style="background-color:#5f40b3">Text here</div>
<div style="border: 4px solid #5f40b3">Text here</div>
#5f40b3 Color on white background
This is how a font and box color of #5f40b3 will look
on a white background.
#5f40b3 Color on black background
This is how a font and box color of #5f40b3 hex color will look
on a black background.