In RGB color space, #5731a8 hex color has a red value of 87, a green value of 49 and a blue value of 168.
In CMYK color space (used in color printing), #5731a8 hex color is composed of 48.21% cyan, 70.83% magenta, 0% yellow and 34.12% black.
#5731a8 color has a hue of 259.2 degrees, a saturation of 54.84% and a lightness of 42.5%.
#5731a8 hex color contains mainly BLUE.
The closest web safe color of #5731a8 is #663399
#5731a8 hex color has a decimal value of 5714344.
HEX | 5731a8 | #5731a8 |
---|---|---|
RGB | 87, 49, 168 | rgb(87, 49, 168) |
RGB Percent | 34.12, 19.22, 65.88 | rgb(34.12, 19.22, 65.88) |
CMYK | 48, 71, 0, 34 | |
HSL | 259.2°, 54.84, 42.5 | hsl(259.2, 54.84%, 42.5%) |
HSV | 259.2°, 70.8, 65.9 |
XYZ | 12.097, 7.05, 37.769 |
---|---|
Hunter Lab | 26.552, 34.859, -65.752 |
CIE-LAB | 31.92, 44.953, -57.904 |
CIE-LCH | 31.92, 73.305, 307.824 |
CIE-LUV | 48.21, 70.83, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5731a8
CMYK percent of color #5731a8
Text with hexadecimal color #5731a8
This text has a font color of #5731a8
<p style="color:#5731a8">Text here</p>
#5731a8 Background Color
This box has a background color of #5731a8
<div style="background-color:#5731a8">Text here</div>
#5731a8 Border Color
This box has a border color of #5731a8
<div style="border: 4px solid #5731a8">Text here</div>
CSS codes
<p style="color:#5731a8">Text here</p>
<div style="background-color:#5731a8">Text here</div>
<div style="border: 4px solid #5731a8">Text here</div>
#5731a8 Color on white background
This is how a font and box color of #5731a8 will look
on a white background.
#5731a8 Color on black background
This is how a font and box color of #5731a8 hex color will look
on a black background.