In RGB color space, #5f5a9a hex color has a red value of 95, a green value of 90 and a blue value of 154.
In CMYK color space (used in color printing), #5f5a9a hex color is composed of 38.31% cyan, 41.56% magenta, 0% yellow and 39.61% black.
#5f5a9a color has a hue of 244.7 degrees, a saturation of 26.23% and a lightness of 47.8%.
#5f5a9a hex color contains mainly BLUE.
The closest web safe color of #5f5a9a is #666699
#5f5a9a hex color has a decimal value of 6249114.
HEX | 5f5a9a | #5f5a9a |
---|---|---|
RGB | 95, 90, 154 | rgb(95, 90, 154) |
RGB Percent | 37.25, 35.29, 60.39 | rgb(37.25, 35.29, 60.39) |
CMYK | 38, 42, 0, 40 | |
HSL | 244.7°, 26.23, 47.8 | hsl(244.7, 26.23%, 47.8%) |
HSV | 244.7°, 41.6, 60.4 |
XYZ | 14.208, 12.078, 32.154 |
---|---|
Hunter Lab | 34.753, 12.156, -30.528 |
CIE-LAB | 41.34, 18.205, -34.323 |
CIE-LCH | 41.34, 38.852, 297.942 |
CIE-LUV | 38.31, 41.56, 0, 39.61 |
Web Safe | 666699 |
RGB percent of color #5f5a9a
CMYK percent of color #5f5a9a
Text with hexadecimal color #5f5a9a
This text has a font color of #5f5a9a
<p style="color:#5f5a9a">Text here</p>
#5f5a9a Background Color
This box has a background color of #5f5a9a
<div style="background-color:#5f5a9a">Text here</div>
#5f5a9a Border Color
This box has a border color of #5f5a9a
<div style="border: 4px solid #5f5a9a">Text here</div>
CSS codes
<p style="color:#5f5a9a">Text here</p>
<div style="background-color:#5f5a9a">Text here</div>
<div style="border: 4px solid #5f5a9a">Text here</div>
#5f5a9a Color on white background
This is how a font and box color of #5f5a9a will look
on a white background.
#5f5a9a Color on black background
This is how a font and box color of #5f5a9a hex color will look
on a black background.