In RGB color space, #5940f1 hex color has a red value of 89, a green value of 64 and a blue value of 241.
In CMYK color space (used in color printing), #5940f1 hex color is composed of 63.07% cyan, 73.44% magenta, 0% yellow and 5.49% black.
#5940f1 color has a hue of 248.5 degrees, a saturation of 86.34% and a lightness of 59.8%.
#5940f1 hex color contains mainly BLUE.
The closest web safe color of #5940f1 is #6633ff
#5940f1 hex color has a decimal value of 5849329.
HEX | 5940f1 | #5940f1 |
---|---|---|
RGB | 89, 64, 241 | rgb(89, 64, 241) |
RGB Percent | 34.9, 25.1, 94.51 | rgb(34.9, 25.1, 94.51) |
CMYK | 63, 73, 0, 5 | |
HSL | 248.5°, 86.34, 59.8 | hsl(248.5, 86.34%, 59.8%) |
HSV | 248.5°, 73.4, 94.5 |
XYZ | 21.83, 12.142, 84.412 |
---|---|
Hunter Lab | 34.845, 50.848, -119.237 |
CIE-LAB | 41.441, 58.612, -84.693 |
CIE-LCH | 41.441, 102.996, 304.685 |
CIE-LUV | 63.07, 73.44, 0, 5.49 |
Web Safe | 6633ff |
RGB percent of color #5940f1
CMYK percent of color #5940f1
Text with hexadecimal color #5940f1
This text has a font color of #5940f1
<p style="color:#5940f1">Text here</p>
#5940f1 Background Color
This box has a background color of #5940f1
<div style="background-color:#5940f1">Text here</div>
#5940f1 Border Color
This box has a border color of #5940f1
<div style="border: 4px solid #5940f1">Text here</div>
CSS codes
<p style="color:#5940f1">Text here</p>
<div style="background-color:#5940f1">Text here</div>
<div style="border: 4px solid #5940f1">Text here</div>
#5940f1 Color on white background
This is how a font and box color of #5940f1 will look
on a white background.
#5940f1 Color on black background
This is how a font and box color of #5940f1 hex color will look
on a black background.