In RGB color space, #5f40db hex color has a red value of 95, a green value of 64 and a blue value of 219.
In CMYK color space (used in color printing), #5f40db hex color is composed of 56.62% cyan, 70.78% magenta, 0% yellow and 14.12% black.
#5f40db color has a hue of 252 degrees, a saturation of 68.28% and a lightness of 55.5%.
#5f40db hex color contains mainly BLUE.
The closest web safe color of #5f40db is #6633cc
#5f40db hex color has a decimal value of 6242523.
HEX | 5f40db | #5f40db |
---|---|---|
RGB | 95, 64, 219 | rgb(95, 64, 219) |
RGB Percent | 37.25, 25.1, 85.88 | rgb(37.25, 25.1, 85.88) |
CMYK | 57, 71, 0, 14 | |
HSL | 252°, 68.28, 55.5 | hsl(252, 68.28%, 55.5%) |
HSV | 252°, 70.8, 85.9 |
XYZ | 19.339, 11.214, 68.163 |
---|---|
Hunter Lab | 33.487, 44.481, -97.243 |
CIE-LAB | 39.939, 52.967, -74.645 |
CIE-LCH | 39.939, 91.528, 305.359 |
CIE-LUV | 56.62, 70.78, 0, 14.12 |
Web Safe | 6633cc |
RGB percent of color #5f40db
CMYK percent of color #5f40db
Text with hexadecimal color #5f40db
This text has a font color of #5f40db
<p style="color:#5f40db">Text here</p>
#5f40db Background Color
This box has a background color of #5f40db
<div style="background-color:#5f40db">Text here</div>
#5f40db Border Color
This box has a border color of #5f40db
<div style="border: 4px solid #5f40db">Text here</div>
CSS codes
<p style="color:#5f40db">Text here</p>
<div style="background-color:#5f40db">Text here</div>
<div style="border: 4px solid #5f40db">Text here</div>
#5f40db Color on white background
This is how a font and box color of #5f40db will look
on a white background.
#5f40db Color on black background
This is how a font and box color of #5f40db hex color will look
on a black background.