In RGB color space, #5040cd hex color has a red value of 80, a green value of 64 and a blue value of 205.
In CMYK color space (used in color printing), #5040cd hex color is composed of 60.98% cyan, 68.78% magenta, 0% yellow and 19.61% black.
#5040cd color has a hue of 246.8 degrees, a saturation of 58.51% and a lightness of 52.7%.
#5040cd hex color contains mainly BLUE.
The closest web safe color of #5040cd is #6633cc
#5040cd hex color has a decimal value of 5259469.
HEX | 5040cd | #5040cd |
---|---|---|
RGB | 80, 64, 205 | rgb(80, 64, 205) |
RGB Percent | 31.37, 25.1, 80.39 | rgb(31.37, 25.1, 80.39) |
CMYK | 61, 69, 0, 20 | |
HSL | 246.8°, 58.51, 52.7 | hsl(246.8, 58.51%, 52.7%) |
HSV | 246.8°, 68.8, 80.4 |
XYZ | 16.161, 9.78, 58.794 |
---|---|
Hunter Lab | 31.273, 37.516, -89.576 |
CIE-LAB | 37.445, 46.635, -70.716 |
CIE-LCH | 37.445, 84.709, 303.404 |
CIE-LUV | 60.98, 68.78, 0, 19.61 |
Web Safe | 6633cc |
RGB percent of color #5040cd
CMYK percent of color #5040cd
Text with hexadecimal color #5040cd
This text has a font color of #5040cd
<p style="color:#5040cd">Text here</p>
#5040cd Background Color
This box has a background color of #5040cd
<div style="background-color:#5040cd">Text here</div>
#5040cd Border Color
This box has a border color of #5040cd
<div style="border: 4px solid #5040cd">Text here</div>
CSS codes
<p style="color:#5040cd">Text here</p>
<div style="background-color:#5040cd">Text here</div>
<div style="border: 4px solid #5040cd">Text here</div>
#5040cd Color on white background
This is how a font and box color of #5040cd will look
on a white background.
#5040cd Color on black background
This is how a font and box color of #5040cd hex color will look
on a black background.