In RGB color space, #5940c2 hex color has a red value of 89, a green value of 64 and a blue value of 194.
In CMYK color space (used in color printing), #5940c2 hex color is composed of 54.12% cyan, 67.01% magenta, 0% yellow and 23.92% black.
#5940c2 color has a hue of 251.5 degrees, a saturation of 51.59% and a lightness of 50.6%.
#5940c2 hex color contains mainly BLUE.
The closest web safe color of #5940c2 is #6633cc
#5940c2 hex color has a decimal value of 5849282.
HEX | 5940c2 | #5940c2 |
---|---|---|
RGB | 89, 64, 194 | rgb(89, 64, 194) |
RGB Percent | 34.9, 25.1, 76.08 | rgb(34.9, 25.1, 76.08) |
CMYK | 54, 67, 0, 24 | |
HSL | 251.5°, 51.59, 50.6 | hsl(251.5, 51.59%, 50.6%) |
HSV | 251.5°, 67, 76.1 |
XYZ | 15.691, 9.686, 52.081 |
---|---|
Hunter Lab | 31.122, 35.531, -77.432 |
CIE-LAB | 37.273, 44.664, -64.562 |
CIE-LCH | 37.273, 78.506, 304.675 |
CIE-LUV | 54.12, 67.01, 0, 23.92 |
Web Safe | 6633cc |
RGB percent of color #5940c2
CMYK percent of color #5940c2
Text with hexadecimal color #5940c2
This text has a font color of #5940c2
<p style="color:#5940c2">Text here</p>
#5940c2 Background Color
This box has a background color of #5940c2
<div style="background-color:#5940c2">Text here</div>
#5940c2 Border Color
This box has a border color of #5940c2
<div style="border: 4px solid #5940c2">Text here</div>
CSS codes
<p style="color:#5940c2">Text here</p>
<div style="background-color:#5940c2">Text here</div>
<div style="border: 4px solid #5940c2">Text here</div>
#5940c2 Color on white background
This is how a font and box color of #5940c2 will look
on a white background.
#5940c2 Color on black background
This is how a font and box color of #5940c2 hex color will look
on a black background.