In RGB color space, #5f5fa5 hex color has a red value of 95, a green value of 95 and a blue value of 165.
In CMYK color space (used in color printing), #5f5fa5 hex color is composed of 42.42% cyan, 42.42% magenta, 0% yellow and 35.29% black.
#5f5fa5 color has a hue of 240 degrees, a saturation of 28% and a lightness of 51%.
#5f5fa5 hex color contains mainly BLUE.
The closest web safe color of #5f5fa5 is #666699
#5f5fa5 hex color has a decimal value of 6250405.
HEX | 5f5fa5 | #5f5fa5 |
---|---|---|
RGB | 95, 95, 165 | rgb(95, 95, 165) |
RGB Percent | 37.25, 37.25, 64.71 | rgb(37.25, 37.25, 64.71) |
CMYK | 42, 42, 0, 35 | |
HSL | 240°, 28, 51 | hsl(240, 28%, 51%) |
HSV | 240°, 42.4, 64.7 |
XYZ | 15.603, 13.334, 37.349 |
---|---|
Hunter Lab | 36.516, 12.37, -35.082 |
CIE-LAB | 43.262, 18.334, -37.826 |
CIE-LCH | 43.262, 42.035, 295.859 |
CIE-LUV | 42.42, 42.42, 0, 35.29 |
Web Safe | 666699 |
RGB percent of color #5f5fa5
CMYK percent of color #5f5fa5
Text with hexadecimal color #5f5fa5
This text has a font color of #5f5fa5
<p style="color:#5f5fa5">Text here</p>
#5f5fa5 Background Color
This box has a background color of #5f5fa5
<div style="background-color:#5f5fa5">Text here</div>
#5f5fa5 Border Color
This box has a border color of #5f5fa5
<div style="border: 4px solid #5f5fa5">Text here</div>
CSS codes
<p style="color:#5f5fa5">Text here</p>
<div style="background-color:#5f5fa5">Text here</div>
<div style="border: 4px solid #5f5fa5">Text here</div>
#5f5fa5 Color on white background
This is how a font and box color of #5f5fa5 will look
on a white background.
#5f5fa5 Color on black background
This is how a font and box color of #5f5fa5 hex color will look
on a black background.