In RGB color space, #5a5aa1 hex color has a red value of 90, a green value of 90 and a blue value of 161.
In CMYK color space (used in color printing), #5a5aa1 hex color is composed of 44.1% cyan, 44.1% magenta, 0% yellow and 36.86% black.
#5a5aa1 color has a hue of 240 degrees, a saturation of 28.29% and a lightness of 49.2%.
#5a5aa1 hex color contains mainly BLUE.
The closest web safe color of #5a5aa1 is #666699
#5a5aa1 hex color has a decimal value of 5921441.
HEX | 5a5aa1 | #5a5aa1 |
---|---|---|
RGB | 90, 90, 161 | rgb(90, 90, 161) |
RGB Percent | 35.29, 35.29, 63.14 | rgb(35.29, 35.29, 63.14) |
CMYK | 44, 44, 0, 37 | |
HSL | 240°, 28.29, 49.2 | hsl(240, 28.29%, 49.2%) |
HSV | 240°, 44.1, 63.1 |
XYZ | 14.306, 12.059, 35.292 |
---|---|
Hunter Lab | 34.726, 12.766, -35.948 |
CIE-LAB | 41.31, 18.944, -38.574 |
CIE-LCH | 41.31, 42.975, 296.156 |
CIE-LUV | 44.1, 44.1, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5a5aa1
CMYK percent of color #5a5aa1
Text with hexadecimal color #5a5aa1
This text has a font color of #5a5aa1
<p style="color:#5a5aa1">Text here</p>
#5a5aa1 Background Color
This box has a background color of #5a5aa1
<div style="background-color:#5a5aa1">Text here</div>
#5a5aa1 Border Color
This box has a border color of #5a5aa1
<div style="border: 4px solid #5a5aa1">Text here</div>
CSS codes
<p style="color:#5a5aa1">Text here</p>
<div style="background-color:#5a5aa1">Text here</div>
<div style="border: 4px solid #5a5aa1">Text here</div>
#5a5aa1 Color on white background
This is how a font and box color of #5a5aa1 will look
on a white background.
#5a5aa1 Color on black background
This is how a font and box color of #5a5aa1 hex color will look
on a black background.