In RGB color space, #5940b5 hex color has a red value of 89, a green value of 64 and a blue value of 181.
In CMYK color space (used in color printing), #5940b5 hex color is composed of 50.83% cyan, 64.64% magenta, 0% yellow and 29.02% black.
#5940b5 color has a hue of 252.8 degrees, a saturation of 47.76% and a lightness of 48%.
#5940b5 hex color contains mainly BLUE.
The closest web safe color of #5940b5 is #6633cc
#5940b5 hex color has a decimal value of 5849269.
HEX | 5940b5 | #5940b5 |
---|---|---|
RGB | 89, 64, 181 | rgb(89, 64, 181) |
RGB Percent | 34.9, 25.1, 70.98 | rgb(34.9, 25.1, 70.98) |
CMYK | 51, 65, 0, 29 | |
HSL | 252.8°, 47.76, 48 | hsl(252.8, 47.76%, 48%) |
HSV | 252.8°, 64.6, 71 |
XYZ | 14.294, 9.127, 44.724 |
---|---|
Hunter Lab | 30.211, 31.586, -66.625 |
CIE-LAB | 36.228, 40.775, -58.622 |
CIE-LCH | 36.228, 71.408, 304.821 |
CIE-LUV | 50.83, 64.64, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #5940b5
CMYK percent of color #5940b5
Text with hexadecimal color #5940b5
This text has a font color of #5940b5
<p style="color:#5940b5">Text here</p>
#5940b5 Background Color
This box has a background color of #5940b5
<div style="background-color:#5940b5">Text here</div>
#5940b5 Border Color
This box has a border color of #5940b5
<div style="border: 4px solid #5940b5">Text here</div>
CSS codes
<p style="color:#5940b5">Text here</p>
<div style="background-color:#5940b5">Text here</div>
<div style="border: 4px solid #5940b5">Text here</div>
#5940b5 Color on white background
This is how a font and box color of #5940b5 will look
on a white background.
#5940b5 Color on black background
This is how a font and box color of #5940b5 hex color will look
on a black background.