In RGB color space, #5f51a4 hex color has a red value of 95, a green value of 81 and a blue value of 164.
In CMYK color space (used in color printing), #5f51a4 hex color is composed of 42.07% cyan, 50.61% magenta, 0% yellow and 35.69% black.
#5f51a4 color has a hue of 250.1 degrees, a saturation of 33.88% and a lightness of 48%.
#5f51a4 hex color contains mainly BLUE.
The closest web safe color of #5f51a4 is #666699
#5f51a4 hex color has a decimal value of 6246820.
HEX | 5f51a4 | #5f51a4 |
---|---|---|
RGB | 95, 81, 164 | rgb(95, 81, 164) |
RGB Percent | 37.25, 31.76, 64.31 | rgb(37.25, 31.76, 64.31) |
CMYK | 42, 51, 0, 36 | |
HSL | 250.1°, 33.88, 48 | hsl(250.1, 33.88%, 48%) |
HSV | 250.1°, 50.6, 64.3 |
XYZ | 14.363, 10.998, 36.488 |
---|---|
Hunter Lab | 33.163, 19.273, -42.02 |
CIE-LAB | 39.577, 26.765, -43.096 |
CIE-LCH | 39.577, 50.731, 301.843 |
CIE-LUV | 42.07, 50.61, 0, 35.69 |
Web Safe | 666699 |
RGB percent of color #5f51a4
CMYK percent of color #5f51a4
Text with hexadecimal color #5f51a4
This text has a font color of #5f51a4
<p style="color:#5f51a4">Text here</p>
#5f51a4 Background Color
This box has a background color of #5f51a4
<div style="background-color:#5f51a4">Text here</div>
#5f51a4 Border Color
This box has a border color of #5f51a4
<div style="border: 4px solid #5f51a4">Text here</div>
CSS codes
<p style="color:#5f51a4">Text here</p>
<div style="background-color:#5f51a4">Text here</div>
<div style="border: 4px solid #5f51a4">Text here</div>
#5f51a4 Color on white background
This is how a font and box color of #5f51a4 will look
on a white background.
#5f51a4 Color on black background
This is how a font and box color of #5f51a4 hex color will look
on a black background.