In RGB color space, #5040ad hex color has a red value of 80, a green value of 64 and a blue value of 173.
In CMYK color space (used in color printing), #5040ad hex color is composed of 53.76% cyan, 63.01% magenta, 0% yellow and 32.16% black.
#5040ad color has a hue of 248.8 degrees, a saturation of 45.99% and a lightness of 46.5%.
#5040ad hex color contains mainly BLUE.
The closest web safe color of #5040ad is #663399
#5040ad hex color has a decimal value of 5259437.
HEX | 5040ad | #5040ad |
---|---|---|
RGB | 80, 64, 173 | rgb(80, 64, 173) |
RGB Percent | 31.37, 25.1, 67.84 | rgb(31.37, 25.1, 67.84) |
CMYK | 54, 63, 0, 32 | |
HSL | 248.8°, 45.99, 46.5 | hsl(248.8, 45.99%, 46.5%) |
HSV | 248.8°, 63, 67.8 |
XYZ | 12.684, 8.389, 40.486 |
---|---|
Hunter Lab | 28.964, 27.483, -62.602 |
CIE-LAB | 34.78, 36.63, -56.265 |
CIE-LCH | 34.78, 67.138, 303.065 |
CIE-LUV | 53.76, 63.01, 0, 32.16 |
Web Safe | 663399 |
RGB percent of color #5040ad
CMYK percent of color #5040ad
Text with hexadecimal color #5040ad
This text has a font color of #5040ad
<p style="color:#5040ad">Text here</p>
#5040ad Background Color
This box has a background color of #5040ad
<div style="background-color:#5040ad">Text here</div>
#5040ad Border Color
This box has a border color of #5040ad
<div style="border: 4px solid #5040ad">Text here</div>
CSS codes
<p style="color:#5040ad">Text here</p>
<div style="background-color:#5040ad">Text here</div>
<div style="border: 4px solid #5040ad">Text here</div>
#5040ad Color on white background
This is how a font and box color of #5040ad will look
on a white background.
#5040ad Color on black background
This is how a font and box color of #5040ad hex color will look
on a black background.