In RGB color space, #5a5f99 hex color has a red value of 90, a green value of 95 and a blue value of 153.
In CMYK color space (used in color printing), #5a5f99 hex color is composed of 41.18% cyan, 37.91% magenta, 0% yellow and 40% black.
#5a5f99 color has a hue of 235.2 degrees, a saturation of 25.93% and a lightness of 47.6%.
#5a5f99 hex color contains mainly BLUE.
The closest web safe color of #5a5f99 is #666699
#5a5f99 hex color has a decimal value of 5922713.
HEX | 5a5f99 | #5a5f99 |
---|---|---|
RGB | 90, 95, 153 | rgb(90, 95, 153) |
RGB Percent | 35.29, 37.25, 60 | rgb(35.29, 37.25, 60) |
CMYK | 41, 38, 0, 40 | |
HSL | 235.2°, 25.93, 47.6 | hsl(235.2, 25.93%, 47.6%) |
HSV | 235.2°, 41.2, 60 |
XYZ | 14.058, 12.658, 31.839 |
---|---|
Hunter Lab | 35.578, 8.269, -28.154 |
CIE-LAB | 42.243, 13.374, -32.329 |
CIE-LCH | 42.243, 34.986, 292.474 |
CIE-LUV | 41.18, 37.91, 0, 40 |
Web Safe | 666699 |
RGB percent of color #5a5f99
CMYK percent of color #5a5f99
Text with hexadecimal color #5a5f99
This text has a font color of #5a5f99
<p style="color:#5a5f99">Text here</p>
#5a5f99 Background Color
This box has a background color of #5a5f99
<div style="background-color:#5a5f99">Text here</div>
#5a5f99 Border Color
This box has a border color of #5a5f99
<div style="border: 4px solid #5a5f99">Text here</div>
CSS codes
<p style="color:#5a5f99">Text here</p>
<div style="background-color:#5a5f99">Text here</div>
<div style="border: 4px solid #5a5f99">Text here</div>
#5a5f99 Color on white background
This is how a font and box color of #5a5f99 will look
on a white background.
#5a5f99 Color on black background
This is how a font and box color of #5a5f99 hex color will look
on a black background.