In RGB color space, #5740a1 hex color has a red value of 87, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #5740a1 hex color is composed of 45.96% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#5740a1 color has a hue of 254.2 degrees, a saturation of 43.11% and a lightness of 44.1%.
#5740a1 hex color contains mainly BLUE.
The closest web safe color of #5740a1 is #663399
#5740a1 hex color has a decimal value of 5718177.
HEX | 5740a1 | #5740a1 |
---|---|---|
RGB | 87, 64, 161 | rgb(87, 64, 161) |
RGB Percent | 34.12, 25.1, 63.14 | rgb(34.12, 25.1, 63.14) |
CMYK | 46, 60, 0, 37 | |
HSL | 254.2°, 43.11, 44.1 | hsl(254.2, 43.11%, 44.1%) |
HSV | 254.2°, 60.2, 63.1 |
XYZ | 12.197, 8.266, 34.671 |
---|---|
Hunter Lab | 28.751, 25.412, -51.374 |
CIE-LAB | 34.531, 34.393, -49.451 |
CIE-LCH | 34.531, 60.235, 304.818 |
CIE-LUV | 45.96, 60.25, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5740a1
CMYK percent of color #5740a1
Text with hexadecimal color #5740a1
This text has a font color of #5740a1
<p style="color:#5740a1">Text here</p>
#5740a1 Background Color
This box has a background color of #5740a1
<div style="background-color:#5740a1">Text here</div>
#5740a1 Border Color
This box has a border color of #5740a1
<div style="border: 4px solid #5740a1">Text here</div>
CSS codes
<p style="color:#5740a1">Text here</p>
<div style="background-color:#5740a1">Text here</div>
<div style="border: 4px solid #5740a1">Text here</div>
#5740a1 Color on white background
This is how a font and box color of #5740a1 will look
on a white background.
#5740a1 Color on black background
This is how a font and box color of #5740a1 hex color will look
on a black background.