In RGB color space, #5a5a98 hex color has a red value of 90, a green value of 90 and a blue value of 152.
In CMYK color space (used in color printing), #5a5a98 hex color is composed of 40.79% cyan, 40.79% magenta, 0% yellow and 40.39% black.
#5a5a98 color has a hue of 240 degrees, a saturation of 25.62% and a lightness of 47.5%.
#5a5a98 hex color contains mainly BLUE.
The closest web safe color of #5a5a98 is #666699
#5a5a98 hex color has a decimal value of 5921432.
HEX | 5a5a98 | #5a5a98 |
---|---|---|
RGB | 90, 90, 152 | rgb(90, 90, 152) |
RGB Percent | 35.29, 35.29, 59.61 | rgb(35.29, 35.29, 59.61) |
CMYK | 41, 41, 0, 40 | |
HSL | 240°, 25.62, 47.5 | hsl(240, 25.62%, 47.5%) |
HSV | 240°, 40.8, 59.6 |
XYZ | 13.54, 11.753, 31.261 |
---|---|
Hunter Lab | 34.283, 10.504, -30.066 |
CIE-LAB | 40.821, 16.217, -33.973 |
CIE-LCH | 40.821, 37.645, 295.517 |
CIE-LUV | 40.79, 40.79, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5a5a98
CMYK percent of color #5a5a98
Text with hexadecimal color #5a5a98
This text has a font color of #5a5a98
<p style="color:#5a5a98">Text here</p>
#5a5a98 Background Color
This box has a background color of #5a5a98
<div style="background-color:#5a5a98">Text here</div>
#5a5a98 Border Color
This box has a border color of #5a5a98
<div style="border: 4px solid #5a5a98">Text here</div>
CSS codes
<p style="color:#5a5a98">Text here</p>
<div style="background-color:#5a5a98">Text here</div>
<div style="border: 4px solid #5a5a98">Text here</div>
#5a5a98 Color on white background
This is how a font and box color of #5a5a98 will look
on a white background.
#5a5a98 Color on black background
This is how a font and box color of #5a5a98 hex color will look
on a black background.