In RGB color space, #5940d3 hex color has a red value of 89, a green value of 64 and a blue value of 211.
In CMYK color space (used in color printing), #5940d3 hex color is composed of 57.82% cyan, 69.67% magenta, 0% yellow and 17.25% black.
#5940d3 color has a hue of 250.2 degrees, a saturation of 62.55% and a lightness of 53.9%.
#5940d3 hex color contains mainly BLUE.
The closest web safe color of #5940d3 is #6633cc
#5940d3 hex color has a decimal value of 5849299.
HEX | 5940d3 | #5940d3 |
---|---|---|
RGB | 89, 64, 211 | rgb(89, 64, 211) |
RGB Percent | 34.9, 25.1, 82.75 | rgb(34.9, 25.1, 82.75) |
CMYK | 58, 70, 0, 17 | |
HSL | 250.2°, 62.55, 53.9 | hsl(250.2, 62.55%, 53.9%) |
HSV | 250.2°, 69.7, 82.7 |
XYZ | 17.711, 10.494, 62.72 |
---|---|
Hunter Lab | 32.394, 40.901, -92.117 |
CIE-LAB | 38.715, 49.747, -72.074 |
CIE-LCH | 38.715, 87.575, 304.614 |
CIE-LUV | 57.82, 69.67, 0, 17.25 |
Web Safe | 6633cc |
RGB percent of color #5940d3
CMYK percent of color #5940d3
Text with hexadecimal color #5940d3
This text has a font color of #5940d3
<p style="color:#5940d3">Text here</p>
#5940d3 Background Color
This box has a background color of #5940d3
<div style="background-color:#5940d3">Text here</div>
#5940d3 Border Color
This box has a border color of #5940d3
<div style="border: 4px solid #5940d3">Text here</div>
CSS codes
<p style="color:#5940d3">Text here</p>
<div style="background-color:#5940d3">Text here</div>
<div style="border: 4px solid #5940d3">Text here</div>
#5940d3 Color on white background
This is how a font and box color of #5940d3 will look
on a white background.
#5940d3 Color on black background
This is how a font and box color of #5940d3 hex color will look
on a black background.