In RGB color space, #5940ab hex color has a red value of 89, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #5940ab hex color is composed of 47.95% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#5940ab color has a hue of 254 degrees, a saturation of 45.53% and a lightness of 46.1%.
#5940ab hex color contains mainly BLUE.
The closest web safe color of #5940ab is #663399
#5940ab hex color has a decimal value of 5849259.
HEX | 5940ab | #5940ab |
---|---|---|
RGB | 89, 64, 171 | rgb(89, 64, 171) |
RGB Percent | 34.9, 25.1, 67.06 | rgb(34.9, 25.1, 67.06) |
CMYK | 48, 63, 0, 33 | |
HSL | 254°, 45.53, 46.1 | hsl(254, 45.53%, 46.1%) |
HSV | 254°, 62.6, 67.1 |
XYZ | 13.304, 8.731, 39.512 |
---|---|
Hunter Lab | 29.548, 28.66, -58.599 |
CIE-LAB | 35.461, 37.793, -53.929 |
CIE-LCH | 35.461, 65.853, 305.022 |
CIE-LUV | 47.95, 62.57, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5940ab
CMYK percent of color #5940ab
Text with hexadecimal color #5940ab
This text has a font color of #5940ab
<p style="color:#5940ab">Text here</p>
#5940ab Background Color
This box has a background color of #5940ab
<div style="background-color:#5940ab">Text here</div>
#5940ab Border Color
This box has a border color of #5940ab
<div style="border: 4px solid #5940ab">Text here</div>
CSS codes
<p style="color:#5940ab">Text here</p>
<div style="background-color:#5940ab">Text here</div>
<div style="border: 4px solid #5940ab">Text here</div>
#5940ab Color on white background
This is how a font and box color of #5940ab will look
on a white background.
#5940ab Color on black background
This is how a font and box color of #5940ab hex color will look
on a black background.