In RGB color space, #5f51bf hex color has a red value of 95, a green value of 81 and a blue value of 191.
In CMYK color space (used in color printing), #5f51bf hex color is composed of 50.26% cyan, 57.59% magenta, 0% yellow and 25.1% black.
#5f51bf color has a hue of 247.6 degrees, a saturation of 46.22% and a lightness of 53.3%.
#5f51bf hex color contains mainly BLUE.
The closest web safe color of #5f51bf is #6666cc
#5f51bf hex color has a decimal value of 6246847.
HEX | 5f51bf | #5f51bf |
---|---|---|
RGB | 95, 81, 191 | rgb(95, 81, 191) |
RGB Percent | 37.25, 31.76, 74.9 | rgb(37.25, 31.76, 74.9) |
CMYK | 50, 58, 0, 25 | |
HSL | 247.6°, 46.22, 53.3 | hsl(247.6, 46.22%, 53.3%) |
HSV | 247.6°, 57.6, 74.9 |
XYZ | 17.066, 12.079, 50.722 |
---|---|
Hunter Lab | 34.755, 26.83, -62.201 |
CIE-LAB | 41.341, 34.916, -56.175 |
CIE-LCH | 41.341, 66.142, 301.863 |
CIE-LUV | 50.26, 57.59, 0, 25.1 |
Web Safe | 6666cc |
RGB percent of color #5f51bf
CMYK percent of color #5f51bf
Text with hexadecimal color #5f51bf
This text has a font color of #5f51bf
<p style="color:#5f51bf">Text here</p>
#5f51bf Background Color
This box has a background color of #5f51bf
<div style="background-color:#5f51bf">Text here</div>
#5f51bf Border Color
This box has a border color of #5f51bf
<div style="border: 4px solid #5f51bf">Text here</div>
CSS codes
<p style="color:#5f51bf">Text here</p>
<div style="background-color:#5f51bf">Text here</div>
<div style="border: 4px solid #5f51bf">Text here</div>
#5f51bf Color on white background
This is how a font and box color of #5f51bf will look
on a white background.
#5f51bf Color on black background
This is how a font and box color of #5f51bf hex color will look
on a black background.