In RGB color space, #5940a9 hex color has a red value of 89, a green value of 64 and a blue value of 169.
In CMYK color space (used in color printing), #5940a9 hex color is composed of 47.34% cyan, 62.13% magenta, 0% yellow and 33.73% black.
#5940a9 color has a hue of 254.3 degrees, a saturation of 45.06% and a lightness of 45.7%.
#5940a9 hex color contains mainly BLUE.
The closest web safe color of #5940a9 is #663399
#5940a9 hex color has a decimal value of 5849257.
HEX | 5940a9 | #5940a9 |
---|---|---|
RGB | 89, 64, 169 | rgb(89, 64, 169) |
RGB Percent | 34.9, 25.1, 66.27 | rgb(34.9, 25.1, 66.27) |
CMYK | 47, 62, 0, 34 | |
HSL | 254.3°, 45.06, 45.7 | hsl(254.3, 45.06%, 45.7%) |
HSV | 254.3°, 62.1, 66.3 |
XYZ | 13.115, 8.655, 38.516 |
---|---|
Hunter Lab | 29.419, 28.09, -57.029 |
CIE-LAB | 35.311, 37.203, -52.978 |
CIE-LCH | 35.311, 64.736, 305.078 |
CIE-LUV | 47.34, 62.13, 0, 33.73 |
Web Safe | 663399 |
RGB percent of color #5940a9
CMYK percent of color #5940a9
Text with hexadecimal color #5940a9
This text has a font color of #5940a9
<p style="color:#5940a9">Text here</p>
#5940a9 Background Color
This box has a background color of #5940a9
<div style="background-color:#5940a9">Text here</div>
#5940a9 Border Color
This box has a border color of #5940a9
<div style="border: 4px solid #5940a9">Text here</div>
CSS codes
<p style="color:#5940a9">Text here</p>
<div style="background-color:#5940a9">Text here</div>
<div style="border: 4px solid #5940a9">Text here</div>
#5940a9 Color on white background
This is how a font and box color of #5940a9 will look
on a white background.
#5940a9 Color on black background
This is how a font and box color of #5940a9 hex color will look
on a black background.