In RGB color space, #5940b9 hex color has a red value of 89, a green value of 64 and a blue value of 185.
In CMYK color space (used in color printing), #5940b9 hex color is composed of 51.89% cyan, 65.41% magenta, 0% yellow and 27.45% black.
#5940b9 color has a hue of 252.4 degrees, a saturation of 48.59% and a lightness of 48.8%.
#5940b9 hex color contains mainly BLUE.
The closest web safe color of #5940b9 is #6633cc
#5940b9 hex color has a decimal value of 5849273.
HEX | 5940b9 | #5940b9 |
---|---|---|
RGB | 89, 64, 185 | rgb(89, 64, 185) |
RGB Percent | 34.9, 25.1, 72.55 | rgb(34.9, 25.1, 72.55) |
CMYK | 52, 65, 0, 27 | |
HSL | 252.4°, 48.59, 48.8 | hsl(252.4, 48.59%, 48.8%) |
HSV | 252.4°, 65.4, 72.5 |
XYZ | 14.71, 9.293, 46.917 |
---|---|
Hunter Lab | 30.484, 32.786, -69.911 |
CIE-LAB | 36.542, 41.973, -60.471 |
CIE-LCH | 36.542, 73.61, 304.765 |
CIE-LUV | 51.89, 65.41, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #5940b9
CMYK percent of color #5940b9
Text with hexadecimal color #5940b9
This text has a font color of #5940b9
<p style="color:#5940b9">Text here</p>
#5940b9 Background Color
This box has a background color of #5940b9
<div style="background-color:#5940b9">Text here</div>
#5940b9 Border Color
This box has a border color of #5940b9
<div style="border: 4px solid #5940b9">Text here</div>
CSS codes
<p style="color:#5940b9">Text here</p>
<div style="background-color:#5940b9">Text here</div>
<div style="border: 4px solid #5940b9">Text here</div>
#5940b9 Color on white background
This is how a font and box color of #5940b9 will look
on a white background.
#5940b9 Color on black background
This is how a font and box color of #5940b9 hex color will look
on a black background.