In RGB color space, #5940ba hex color has a red value of 89, a green value of 64 and a blue value of 186.
In CMYK color space (used in color printing), #5940ba hex color is composed of 52.15% cyan, 65.59% magenta, 0% yellow and 27.06% black.
#5940ba color has a hue of 252.3 degrees, a saturation of 48.8% and a lightness of 49%.
#5940ba hex color contains mainly BLUE.
The closest web safe color of #5940ba is #6633cc
#5940ba hex color has a decimal value of 5849274.
HEX | 5940ba | #5940ba |
---|---|---|
RGB | 89, 64, 186 | rgb(89, 64, 186) |
RGB Percent | 34.9, 25.1, 72.94 | rgb(34.9, 25.1, 72.94) |
CMYK | 52, 66, 0, 27 | |
HSL | 252.3°, 48.8, 49 | hsl(252.3, 48.8%, 49%) |
HSV | 252.3°, 65.6, 72.9 |
XYZ | 14.816, 9.336, 47.475 |
---|---|
Hunter Lab | 30.555, 33.083, -70.734 |
CIE-LAB | 36.623, 42.267, -60.928 |
CIE-LCH | 36.623, 74.153, 304.75 |
CIE-LUV | 52.15, 65.59, 0, 27.06 |
Web Safe | 6633cc |
RGB percent of color #5940ba
CMYK percent of color #5940ba
Text with hexadecimal color #5940ba
This text has a font color of #5940ba
<p style="color:#5940ba">Text here</p>
#5940ba Background Color
This box has a background color of #5940ba
<div style="background-color:#5940ba">Text here</div>
#5940ba Border Color
This box has a border color of #5940ba
<div style="border: 4px solid #5940ba">Text here</div>
CSS codes
<p style="color:#5940ba">Text here</p>
<div style="background-color:#5940ba">Text here</div>
<div style="border: 4px solid #5940ba">Text here</div>
#5940ba Color on white background
This is how a font and box color of #5940ba will look
on a white background.
#5940ba Color on black background
This is how a font and box color of #5940ba hex color will look
on a black background.