In RGB color space, #5f51a3 hex color has a red value of 95, a green value of 81 and a blue value of 163.
In CMYK color space (used in color printing), #5f51a3 hex color is composed of 41.72% cyan, 50.31% magenta, 0% yellow and 36.08% black.
#5f51a3 color has a hue of 250.2 degrees, a saturation of 33.61% and a lightness of 47.8%.
#5f51a3 hex color contains mainly BLUE.
The closest web safe color of #5f51a3 is #666699
#5f51a3 hex color has a decimal value of 6246819.
HEX | 5f51a3 | #5f51a3 |
---|---|---|
RGB | 95, 81, 163 | rgb(95, 81, 163) |
RGB Percent | 37.25, 31.76, 63.92 | rgb(37.25, 31.76, 63.92) |
CMYK | 42, 50, 0, 36 | |
HSL | 250.2°, 33.61, 47.8 | hsl(250.2, 33.61%, 47.8%) |
HSV | 250.2°, 50.3, 63.9 |
XYZ | 14.273, 10.962, 36.014 |
---|---|
Hunter Lab | 33.109, 19.009, -41.316 |
CIE-LAB | 39.516, 26.469, -42.596 |
CIE-LCH | 39.516, 50.15, 301.857 |
CIE-LUV | 41.72, 50.31, 0, 36.08 |
Web Safe | 666699 |
RGB percent of color #5f51a3
CMYK percent of color #5f51a3
Text with hexadecimal color #5f51a3
This text has a font color of #5f51a3
<p style="color:#5f51a3">Text here</p>
#5f51a3 Background Color
This box has a background color of #5f51a3
<div style="background-color:#5f51a3">Text here</div>
#5f51a3 Border Color
This box has a border color of #5f51a3
<div style="border: 4px solid #5f51a3">Text here</div>
CSS codes
<p style="color:#5f51a3">Text here</p>
<div style="background-color:#5f51a3">Text here</div>
<div style="border: 4px solid #5f51a3">Text here</div>
#5f51a3 Color on white background
This is how a font and box color of #5f51a3 will look
on a white background.
#5f51a3 Color on black background
This is how a font and box color of #5f51a3 hex color will look
on a black background.