In RGB color space, #5f51aa hex color has a red value of 95, a green value of 81 and a blue value of 170.
In CMYK color space (used in color printing), #5f51aa hex color is composed of 44.12% cyan, 52.35% magenta, 0% yellow and 33.33% black.
#5f51aa color has a hue of 249.4 degrees, a saturation of 35.46% and a lightness of 49.2%.
#5f51aa hex color contains mainly BLUE.
The closest web safe color of #5f51aa is #666699
#5f51aa hex color has a decimal value of 6246826.
HEX | 5f51aa | #5f51aa |
---|---|---|
RGB | 95, 81, 170 | rgb(95, 81, 170) |
RGB Percent | 37.25, 31.76, 66.67 | rgb(37.25, 31.76, 66.67) |
CMYK | 44, 52, 0, 33 | |
HSL | 249.4°, 35.46, 49.2 | hsl(249.4, 35.46%, 49.2%) |
HSV | 249.4°, 52.4, 66.7 |
XYZ | 14.917, 11.22, 39.41 |
---|---|
Hunter Lab | 33.496, 20.874, -46.31 |
CIE-LAB | 39.949, 28.545, -46.069 |
CIE-LCH | 39.949, 54.196, 301.783 |
CIE-LUV | 44.12, 52.35, 0, 33.33 |
Web Safe | 666699 |
RGB percent of color #5f51aa
CMYK percent of color #5f51aa
Text with hexadecimal color #5f51aa
This text has a font color of #5f51aa
<p style="color:#5f51aa">Text here</p>
#5f51aa Background Color
This box has a background color of #5f51aa
<div style="background-color:#5f51aa">Text here</div>
#5f51aa Border Color
This box has a border color of #5f51aa
<div style="border: 4px solid #5f51aa">Text here</div>
CSS codes
<p style="color:#5f51aa">Text here</p>
<div style="background-color:#5f51aa">Text here</div>
<div style="border: 4px solid #5f51aa">Text here</div>
#5f51aa Color on white background
This is how a font and box color of #5f51aa will look
on a white background.
#5f51aa Color on black background
This is how a font and box color of #5f51aa hex color will look
on a black background.