In RGB color space, #5040ef hex color has a red value of 80, a green value of 64 and a blue value of 239.
In CMYK color space (used in color printing), #5040ef hex color is composed of 66.53% cyan, 73.22% magenta, 0% yellow and 6.27% black.
#5040ef color has a hue of 245.5 degrees, a saturation of 84.54% and a lightness of 59.4%.
#5040ef hex color contains mainly BLUE.
The closest web safe color of #5040ef is #6633ff
#5040ef hex color has a decimal value of 5259503.
HEX | 5040ef | #5040ef |
---|---|---|
RGB | 80, 64, 239 | rgb(80, 64, 239) |
RGB Percent | 31.37, 25.1, 93.73 | rgb(31.37, 25.1, 93.73) |
CMYK | 67, 73, 0, 6 | |
HSL | 245.5°, 84.54, 59.4 | hsl(245.5, 84.54%, 59.4%) |
HSV | 245.5°, 73.2, 93.7 |
XYZ | 20.722, 11.604, 82.809 |
---|---|
Hunter Lab | 34.065, 48.971, -120.285 |
CIE-LAB | 40.58, 57.054, -85.007 |
CIE-LCH | 40.58, 102.378, 303.868 |
CIE-LUV | 66.53, 73.22, 0, 6.27 |
Web Safe | 6633ff |
RGB percent of color #5040ef
CMYK percent of color #5040ef
Text with hexadecimal color #5040ef
This text has a font color of #5040ef
<p style="color:#5040ef">Text here</p>
#5040ef Background Color
This box has a background color of #5040ef
<div style="background-color:#5040ef">Text here</div>
#5040ef Border Color
This box has a border color of #5040ef
<div style="border: 4px solid #5040ef">Text here</div>
CSS codes
<p style="color:#5040ef">Text here</p>
<div style="background-color:#5040ef">Text here</div>
<div style="border: 4px solid #5040ef">Text here</div>
#5040ef Color on white background
This is how a font and box color of #5040ef will look
on a white background.
#5040ef Color on black background
This is how a font and box color of #5040ef hex color will look
on a black background.