In RGB color space, #5940b4 hex color has a red value of 89, a green value of 64 and a blue value of 180.
In CMYK color space (used in color printing), #5940b4 hex color is composed of 50.56% cyan, 64.44% magenta, 0% yellow and 29.41% black.
#5940b4 color has a hue of 252.9 degrees, a saturation of 47.54% and a lightness of 47.8%.
#5940b4 hex color contains mainly BLUE.
The closest web safe color of #5940b4 is #6633cc
#5940b4 hex color has a decimal value of 5849268.
HEX | 5940b4 | #5940b4 |
---|---|---|
RGB | 89, 64, 180 | rgb(89, 64, 180) |
RGB Percent | 34.9, 25.1, 70.59 | rgb(34.9, 25.1, 70.59) |
CMYK | 51, 64, 0, 29 | |
HSL | 252.9°, 47.54, 47.8 | hsl(252.9, 47.54%, 47.8%) |
HSV | 252.9°, 64.4, 70.6 |
XYZ | 14.191, 9.086, 44.186 |
---|---|
Hunter Lab | 30.143, 31.286, -65.812 |
CIE-LAB | 36.149, 40.472, -58.159 |
CIE-LCH | 36.149, 70.855, 304.833 |
CIE-LUV | 50.56, 64.44, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #5940b4
CMYK percent of color #5940b4
Text with hexadecimal color #5940b4
This text has a font color of #5940b4
<p style="color:#5940b4">Text here</p>
#5940b4 Background Color
This box has a background color of #5940b4
<div style="background-color:#5940b4">Text here</div>
#5940b4 Border Color
This box has a border color of #5940b4
<div style="border: 4px solid #5940b4">Text here</div>
CSS codes
<p style="color:#5940b4">Text here</p>
<div style="background-color:#5940b4">Text here</div>
<div style="border: 4px solid #5940b4">Text here</div>
#5940b4 Color on white background
This is how a font and box color of #5940b4 will look
on a white background.
#5940b4 Color on black background
This is how a font and box color of #5940b4 hex color will look
on a black background.