In RGB color space, #5f51a8 hex color has a red value of 95, a green value of 81 and a blue value of 168.
In CMYK color space (used in color printing), #5f51a8 hex color is composed of 43.45% cyan, 51.79% magenta, 0% yellow and 34.12% black.
#5f51a8 color has a hue of 249.7 degrees, a saturation of 34.94% and a lightness of 48.8%.
#5f51a8 hex color contains mainly BLUE.
The closest web safe color of #5f51a8 is #666699
#5f51a8 hex color has a decimal value of 6246824.
HEX | 5f51a8 | #5f51a8 |
---|---|---|
RGB | 95, 81, 168 | rgb(95, 81, 168) |
RGB Percent | 37.25, 31.76, 65.88 | rgb(37.25, 31.76, 65.88) |
CMYK | 43, 52, 0, 34 | |
HSL | 249.7°, 34.94, 48.8 | hsl(249.7, 34.94%, 48.8%) |
HSV | 249.7°, 51.8, 65.9 |
XYZ | 14.73, 11.145, 38.421 |
---|---|
Hunter Lab | 33.384, 20.337, -44.867 |
CIE-LAB | 39.824, 27.951, -45.082 |
CIE-LCH | 39.824, 53.044, 301.799 |
CIE-LUV | 43.45, 51.79, 0, 34.12 |
Web Safe | 666699 |
RGB percent of color #5f51a8
CMYK percent of color #5f51a8
Text with hexadecimal color #5f51a8
This text has a font color of #5f51a8
<p style="color:#5f51a8">Text here</p>
#5f51a8 Background Color
This box has a background color of #5f51a8
<div style="background-color:#5f51a8">Text here</div>
#5f51a8 Border Color
This box has a border color of #5f51a8
<div style="border: 4px solid #5f51a8">Text here</div>
CSS codes
<p style="color:#5f51a8">Text here</p>
<div style="background-color:#5f51a8">Text here</div>
<div style="border: 4px solid #5f51a8">Text here</div>
#5f51a8 Color on white background
This is how a font and box color of #5f51a8 will look
on a white background.
#5f51a8 Color on black background
This is how a font and box color of #5f51a8 hex color will look
on a black background.