In RGB color space, #5940ea hex color has a red value of 89, a green value of 64 and a blue value of 234.
In CMYK color space (used in color printing), #5940ea hex color is composed of 61.97% cyan, 72.65% magenta, 0% yellow and 8.24% black.
#5940ea color has a hue of 248.8 degrees, a saturation of 80.19% and a lightness of 58.4%.
#5940ea hex color contains mainly BLUE.
The closest web safe color of #5940ea is #6633ff
#5940ea hex color has a decimal value of 5849322.
HEX | 5940ea | #5940ea |
---|---|---|
RGB | 89, 64, 234 | rgb(89, 64, 234) |
RGB Percent | 34.9, 25.1, 91.76 | rgb(34.9, 25.1, 91.76) |
CMYK | 62, 73, 0, 8 | |
HSL | 248.8°, 80.19, 58.4 | hsl(248.8, 80.19%, 58.4%) |
HSV | 248.8°, 72.6, 91.8 |
XYZ | 20.805, 11.731, 79.01 |
---|---|
Hunter Lab | 34.251, 48.489, -112.796 |
CIE-LAB | 40.785, 56.568, -81.817 |
CIE-LCH | 40.785, 99.468, 304.66 |
CIE-LUV | 61.97, 72.65, 0, 8.24 |
Web Safe | 6633ff |
RGB percent of color #5940ea
CMYK percent of color #5940ea
Text with hexadecimal color #5940ea
This text has a font color of #5940ea
<p style="color:#5940ea">Text here</p>
#5940ea Background Color
This box has a background color of #5940ea
<div style="background-color:#5940ea">Text here</div>
#5940ea Border Color
This box has a border color of #5940ea
<div style="border: 4px solid #5940ea">Text here</div>
CSS codes
<p style="color:#5940ea">Text here</p>
<div style="background-color:#5940ea">Text here</div>
<div style="border: 4px solid #5940ea">Text here</div>
#5940ea Color on white background
This is how a font and box color of #5940ea will look
on a white background.
#5940ea Color on black background
This is how a font and box color of #5940ea hex color will look
on a black background.