In RGB color space, #5f51af hex color has a red value of 95, a green value of 81 and a blue value of 175.
In CMYK color space (used in color printing), #5f51af hex color is composed of 45.71% cyan, 53.71% magenta, 0% yellow and 31.37% black.
#5f51af color has a hue of 248.9 degrees, a saturation of 37.01% and a lightness of 50.2%.
#5f51af hex color contains mainly BLUE.
The closest web safe color of #5f51af is #666699
#5f51af hex color has a decimal value of 6246831.
HEX | 5f51af | #5f51af |
---|---|---|
RGB | 95, 81, 175 | rgb(95, 81, 175) |
RGB Percent | 37.25, 31.76, 68.63 | rgb(37.25, 31.76, 68.63) |
CMYK | 46, 54, 0, 31 | |
HSL | 248.9°, 37.01, 50.2 | hsl(248.9, 37.01%, 50.2%) |
HSV | 248.9°, 53.7, 68.6 |
XYZ | 15.4, 11.413, 41.949 |
---|---|
Hunter Lab | 33.783, 22.249, -49.973 |
CIE-LAB | 40.268, 30.05, -48.516 |
CIE-LCH | 40.268, 57.068, 301.773 |
CIE-LUV | 45.71, 53.71, 0, 31.37 |
Web Safe | 666699 |
RGB percent of color #5f51af
CMYK percent of color #5f51af
Text with hexadecimal color #5f51af
This text has a font color of #5f51af
<p style="color:#5f51af">Text here</p>
#5f51af Background Color
This box has a background color of #5f51af
<div style="background-color:#5f51af">Text here</div>
#5f51af Border Color
This box has a border color of #5f51af
<div style="border: 4px solid #5f51af">Text here</div>
CSS codes
<p style="color:#5f51af">Text here</p>
<div style="background-color:#5f51af">Text here</div>
<div style="border: 4px solid #5f51af">Text here</div>
#5f51af Color on white background
This is how a font and box color of #5f51af will look
on a white background.
#5f51af Color on black background
This is how a font and box color of #5f51af hex color will look
on a black background.