In RGB color space, #5240a5 hex color has a red value of 82, a green value of 64 and a blue value of 165.
In CMYK color space (used in color printing), #5240a5 hex color is composed of 50.3% cyan, 61.21% magenta, 0% yellow and 35.29% black.
#5240a5 color has a hue of 250.7 degrees, a saturation of 44.1% and a lightness of 44.9%.
#5240a5 hex color contains mainly BLUE.
The closest web safe color of #5240a5 is #663399
#5240a5 hex color has a decimal value of 5390501.
HEX | 5240a5 | #5240a5 |
---|---|---|
RGB | 82, 64, 165 | rgb(82, 64, 165) |
RGB Percent | 32.16, 25.1, 64.71 | rgb(32.16, 25.1, 64.71) |
CMYK | 50, 61, 0, 35 | |
HSL | 250.7°, 44.1, 44.9 | hsl(250.7, 44.1%, 44.9%) |
HSV | 250.7°, 61.2, 64.7 |
XYZ | 12.105, 8.177, 36.538 |
---|---|
Hunter Lab | 28.595, 25.52, -55.741 |
CIE-LAB | 34.349, 34.541, -52.174 |
CIE-LCH | 34.349, 62.572, 303.506 |
CIE-LUV | 50.3, 61.21, 0, 35.29 |
Web Safe | 663399 |
RGB percent of color #5240a5
CMYK percent of color #5240a5
Text with hexadecimal color #5240a5
This text has a font color of #5240a5
<p style="color:#5240a5">Text here</p>
#5240a5 Background Color
This box has a background color of #5240a5
<div style="background-color:#5240a5">Text here</div>
#5240a5 Border Color
This box has a border color of #5240a5
<div style="border: 4px solid #5240a5">Text here</div>
CSS codes
<p style="color:#5240a5">Text here</p>
<div style="background-color:#5240a5">Text here</div>
<div style="border: 4px solid #5240a5">Text here</div>
#5240a5 Color on white background
This is how a font and box color of #5240a5 will look
on a white background.
#5240a5 Color on black background
This is how a font and box color of #5240a5 hex color will look
on a black background.