In RGB color space, #5a5f98 hex color has a red value of 90, a green value of 95 and a blue value of 152.
In CMYK color space (used in color printing), #5a5f98 hex color is composed of 40.79% cyan, 37.5% magenta, 0% yellow and 40.39% black.
#5a5f98 color has a hue of 235.2 degrees, a saturation of 25.62% and a lightness of 47.5%.
#5a5f98 hex color contains mainly BLUE.
The closest web safe color of #5a5f98 is #666699
#5a5f98 hex color has a decimal value of 5922712.
HEX | 5a5f98 | #5a5f98 |
---|---|---|
RGB | 90, 95, 152 | rgb(90, 95, 152) |
RGB Percent | 35.29, 37.25, 59.61 | rgb(35.29, 37.25, 59.61) |
CMYK | 41, 38, 0, 40 | |
HSL | 235.2°, 25.62, 47.5 | hsl(235.2, 25.62%, 47.5%) |
HSV | 235.2°, 40.8, 59.6 |
XYZ | 13.976, 12.625, 31.406 |
---|---|
Hunter Lab | 35.532, 8.031, -27.534 |
CIE-LAB | 42.193, 13.077, -31.812 |
CIE-LCH | 42.193, 34.395, 292.346 |
CIE-LUV | 40.79, 37.5, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5a5f98
CMYK percent of color #5a5f98
Text with hexadecimal color #5a5f98
This text has a font color of #5a5f98
<p style="color:#5a5f98">Text here</p>
#5a5f98 Background Color
This box has a background color of #5a5f98
<div style="background-color:#5a5f98">Text here</div>
#5a5f98 Border Color
This box has a border color of #5a5f98
<div style="border: 4px solid #5a5f98">Text here</div>
CSS codes
<p style="color:#5a5f98">Text here</p>
<div style="background-color:#5a5f98">Text here</div>
<div style="border: 4px solid #5a5f98">Text here</div>
#5a5f98 Color on white background
This is how a font and box color of #5a5f98 will look
on a white background.
#5a5f98 Color on black background
This is how a font and box color of #5a5f98 hex color will look
on a black background.