In RGB color space, #5940cd hex color has a red value of 89, a green value of 64 and a blue value of 205.
In CMYK color space (used in color printing), #5940cd hex color is composed of 56.59% cyan, 68.78% magenta, 0% yellow and 19.61% black.
#5940cd color has a hue of 250.6 degrees, a saturation of 58.51% and a lightness of 52.7%.
#5940cd hex color contains mainly BLUE.
The closest web safe color of #5940cd is #6633cc
#5940cd hex color has a decimal value of 5849293.
HEX | 5940cd | #5940cd |
---|---|---|
RGB | 89, 64, 205 | rgb(89, 64, 205) |
RGB Percent | 34.9, 25.1, 80.39 | rgb(34.9, 25.1, 80.39) |
CMYK | 57, 69, 0, 20 | |
HSL | 250.6°, 58.51, 52.7 | hsl(250.6, 58.51%, 52.7%) |
HSV | 250.6°, 68.8, 80.4 |
XYZ | 16.973, 10.198, 58.832 |
---|---|
Hunter Lab | 31.934, 38.987, -86.875 |
CIE-LAB | 38.195, 47.963, -69.457 |
CIE-LCH | 38.195, 84.408, 304.627 |
CIE-LUV | 56.59, 68.78, 0, 19.61 |
Web Safe | 6633cc |
RGB percent of color #5940cd
CMYK percent of color #5940cd
Text with hexadecimal color #5940cd
This text has a font color of #5940cd
<p style="color:#5940cd">Text here</p>
#5940cd Background Color
This box has a background color of #5940cd
<div style="background-color:#5940cd">Text here</div>
#5940cd Border Color
This box has a border color of #5940cd
<div style="border: 4px solid #5940cd">Text here</div>
CSS codes
<p style="color:#5940cd">Text here</p>
<div style="background-color:#5940cd">Text here</div>
<div style="border: 4px solid #5940cd">Text here</div>
#5940cd Color on white background
This is how a font and box color of #5940cd will look
on a white background.
#5940cd Color on black background
This is how a font and box color of #5940cd hex color will look
on a black background.