In RGB color space, #5031a2 hex color has a red value of 80, a green value of 49 and a blue value of 162.
In CMYK color space (used in color printing), #5031a2 hex color is composed of 50.62% cyan, 69.75% magenta, 0% yellow and 36.47% black.
#5031a2 color has a hue of 256.5 degrees, a saturation of 53.55% and a lightness of 41.4%.
#5031a2 hex color contains mainly BLUE.
The closest web safe color of #5031a2 is #663399
#5031a2 hex color has a decimal value of 5255586.
HEX | 5031a2 | #5031a2 |
---|---|---|
RGB | 80, 49, 162 | rgb(80, 49, 162) |
RGB Percent | 31.37, 19.22, 63.53 | rgb(31.37, 19.22, 63.53) |
CMYK | 51, 70, 0, 36 | |
HSL | 256.5°, 53.55, 41.4 | hsl(256.5, 53.55%, 41.4%) |
HSV | 256.5°, 69.8, 63.5 |
XYZ | 10.928, 6.511, 34.863 |
---|---|
Hunter Lab | 25.517, 31.792, -63.145 |
CIE-LAB | 30.667, 41.98, -56.365 |
CIE-LCH | 30.667, 70.28, 306.678 |
CIE-LUV | 50.62, 69.75, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5031a2
CMYK percent of color #5031a2
Text with hexadecimal color #5031a2
This text has a font color of #5031a2
<p style="color:#5031a2">Text here</p>
#5031a2 Background Color
This box has a background color of #5031a2
<div style="background-color:#5031a2">Text here</div>
#5031a2 Border Color
This box has a border color of #5031a2
<div style="border: 4px solid #5031a2">Text here</div>
CSS codes
<p style="color:#5031a2">Text here</p>
<div style="background-color:#5031a2">Text here</div>
<div style="border: 4px solid #5031a2">Text here</div>
#5031a2 Color on white background
This is how a font and box color of #5031a2 will look
on a white background.
#5031a2 Color on black background
This is how a font and box color of #5031a2 hex color will look
on a black background.