In RGB color space, #5742a1 hex color has a red value of 87, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #5742a1 hex color is composed of 45.96% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#5742a1 color has a hue of 253.3 degrees, a saturation of 41.85% and a lightness of 44.5%.
#5742a1 hex color contains mainly BLUE.
The closest web safe color of #5742a1 is #663399
#5742a1 hex color has a decimal value of 5718689.
HEX | 5742a1 | #5742a1 |
---|---|---|
RGB | 87, 66, 161 | rgb(87, 66, 161) |
RGB Percent | 34.12, 25.88, 63.14 | rgb(34.12, 25.88, 63.14) |
CMYK | 46, 59, 0, 37 | |
HSL | 253.3°, 41.85, 44.5 | hsl(253.3, 41.85%, 44.5%) |
HSV | 253.3°, 59, 63.1 |
XYZ | 12.312, 8.496, 34.709 |
---|---|
Hunter Lab | 29.148, 24.389, -50.198 |
CIE-LAB | 34.995, 33.181, -48.7 |
CIE-LCH | 34.995, 58.929, 304.268 |
CIE-LUV | 45.96, 59.01, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5742a1
CMYK percent of color #5742a1
Text with hexadecimal color #5742a1
This text has a font color of #5742a1
<p style="color:#5742a1">Text here</p>
#5742a1 Background Color
This box has a background color of #5742a1
<div style="background-color:#5742a1">Text here</div>
#5742a1 Border Color
This box has a border color of #5742a1
<div style="border: 4px solid #5742a1">Text here</div>
CSS codes
<p style="color:#5742a1">Text here</p>
<div style="background-color:#5742a1">Text here</div>
<div style="border: 4px solid #5742a1">Text here</div>
#5742a1 Color on white background
This is how a font and box color of #5742a1 will look
on a white background.
#5742a1 Color on black background
This is how a font and box color of #5742a1 hex color will look
on a black background.