In RGB color space, #5f51c4 hex color has a red value of 95, a green value of 81 and a blue value of 196.
In CMYK color space (used in color printing), #5f51c4 hex color is composed of 51.53% cyan, 58.67% magenta, 0% yellow and 23.14% black.
#5f51c4 color has a hue of 247.3 degrees, a saturation of 49.36% and a lightness of 54.3%.
#5f51c4 hex color contains mainly BLUE.
The closest web safe color of #5f51c4 is #6666cc
#5f51c4 hex color has a decimal value of 6246852.
HEX | 5f51c4 | #5f51c4 |
---|---|---|
RGB | 95, 81, 196 | rgb(95, 81, 196) |
RGB Percent | 37.25, 31.76, 76.86 | rgb(37.25, 31.76, 76.86) |
CMYK | 52, 59, 0, 23 | |
HSL | 247.3°, 49.36, 54.3 | hsl(247.3, 49.36%, 54.3%) |
HSV | 247.3°, 58.7, 76.9 |
XYZ | 17.626, 12.303, 53.67 |
---|---|
Hunter Lab | 35.076, 28.316, -66.168 |
CIE-LAB | 41.694, 36.45, -58.515 |
CIE-LCH | 41.694, 68.939, 301.919 |
CIE-LUV | 51.53, 58.67, 0, 23.14 |
Web Safe | 6666cc |
RGB percent of color #5f51c4
CMYK percent of color #5f51c4
Text with hexadecimal color #5f51c4
This text has a font color of #5f51c4
<p style="color:#5f51c4">Text here</p>
#5f51c4 Background Color
This box has a background color of #5f51c4
<div style="background-color:#5f51c4">Text here</div>
#5f51c4 Border Color
This box has a border color of #5f51c4
<div style="border: 4px solid #5f51c4">Text here</div>
CSS codes
<p style="color:#5f51c4">Text here</p>
<div style="background-color:#5f51c4">Text here</div>
<div style="border: 4px solid #5f51c4">Text here</div>
#5f51c4 Color on white background
This is how a font and box color of #5f51c4 will look
on a white background.
#5f51c4 Color on black background
This is how a font and box color of #5f51c4 hex color will look
on a black background.