In RGB color space, #5940d9 hex color has a red value of 89, a green value of 64 and a blue value of 217.
In CMYK color space (used in color printing), #5940d9 hex color is composed of 58.99% cyan, 70.51% magenta, 0% yellow and 14.9% black.
#5940d9 color has a hue of 249.8 degrees, a saturation of 66.81% and a lightness of 55.1%.
#5940d9 hex color contains mainly BLUE.
The closest web safe color of #5940d9 is #6633cc
#5940d9 hex color has a decimal value of 5849305.
HEX | 5940d9 | #5940d9 |
---|---|---|
RGB | 89, 64, 217 | rgb(89, 64, 217) |
RGB Percent | 34.9, 25.1, 85.1 | rgb(34.9, 25.1, 85.1) |
CMYK | 59, 71, 0, 15 | |
HSL | 249.8°, 66.81, 55.1 | hsl(249.8, 66.81%, 55.1%) |
HSV | 249.8°, 70.5, 85.1 |
XYZ | 18.478, 10.8, 66.756 |
---|---|
Hunter Lab | 32.863, 42.854, -97.433 |
CIE-LAB | 39.242, 51.541, -74.661 |
CIE-LCH | 39.242, 90.723, 304.619 |
CIE-LUV | 58.99, 70.51, 0, 14.9 |
Web Safe | 6633cc |
RGB percent of color #5940d9
CMYK percent of color #5940d9
Text with hexadecimal color #5940d9
This text has a font color of #5940d9
<p style="color:#5940d9">Text here</p>
#5940d9 Background Color
This box has a background color of #5940d9
<div style="background-color:#5940d9">Text here</div>
#5940d9 Border Color
This box has a border color of #5940d9
<div style="border: 4px solid #5940d9">Text here</div>
CSS codes
<p style="color:#5940d9">Text here</p>
<div style="background-color:#5940d9">Text here</div>
<div style="border: 4px solid #5940d9">Text here</div>
#5940d9 Color on white background
This is how a font and box color of #5940d9 will look
on a white background.
#5940d9 Color on black background
This is how a font and box color of #5940d9 hex color will look
on a black background.