In RGB color space, #5f51a9 hex color has a red value of 95, a green value of 81 and a blue value of 169.
In CMYK color space (used in color printing), #5f51a9 hex color is composed of 43.79% cyan, 52.07% magenta, 0% yellow and 33.73% black.
#5f51a9 color has a hue of 249.5 degrees, a saturation of 35.2% and a lightness of 49%.
#5f51a9 hex color contains mainly BLUE.
The closest web safe color of #5f51a9 is #666699
#5f51a9 hex color has a decimal value of 6246825.
HEX | 5f51a9 | #5f51a9 |
---|---|---|
RGB | 95, 81, 169 | rgb(95, 81, 169) |
RGB Percent | 37.25, 31.76, 66.27 | rgb(37.25, 31.76, 66.27) |
CMYK | 44, 52, 0, 34 | |
HSL | 249.5°, 35.2, 49 | hsl(249.5, 35.2%, 49%) |
HSV | 249.5°, 52.1, 66.3 |
XYZ | 14.823, 11.182, 38.913 |
---|---|
Hunter Lab | 33.439, 20.606, -45.587 |
CIE-LAB | 39.885, 28.249, -45.576 |
CIE-LCH | 39.885, 53.621, 301.792 |
CIE-LUV | 43.79, 52.07, 0, 33.73 |
Web Safe | 666699 |
RGB percent of color #5f51a9
CMYK percent of color #5f51a9
Text with hexadecimal color #5f51a9
This text has a font color of #5f51a9
<p style="color:#5f51a9">Text here</p>
#5f51a9 Background Color
This box has a background color of #5f51a9
<div style="background-color:#5f51a9">Text here</div>
#5f51a9 Border Color
This box has a border color of #5f51a9
<div style="border: 4px solid #5f51a9">Text here</div>
CSS codes
<p style="color:#5f51a9">Text here</p>
<div style="background-color:#5f51a9">Text here</div>
<div style="border: 4px solid #5f51a9">Text here</div>
#5f51a9 Color on white background
This is how a font and box color of #5f51a9 will look
on a white background.
#5f51a9 Color on black background
This is how a font and box color of #5f51a9 hex color will look
on a black background.