In RGB color space, #5742ab hex color has a red value of 87, a green value of 66 and a blue value of 171.
In CMYK color space (used in color printing), #5742ab hex color is composed of 49.12% cyan, 61.4% magenta, 0% yellow and 32.94% black.
#5742ab color has a hue of 252 degrees, a saturation of 44.3% and a lightness of 46.5%.
#5742ab hex color contains mainly BLUE.
The closest web safe color of #5742ab is #663399
#5742ab hex color has a decimal value of 5718699.
HEX | 5742ab | #5742ab |
---|---|---|
RGB | 87, 66, 171 | rgb(87, 66, 171) |
RGB Percent | 34.12, 25.88, 67.06 | rgb(34.12, 25.88, 67.06) |
CMYK | 49, 61, 0, 33 | |
HSL | 252°, 44.3, 46.5 | hsl(252, 44.3%, 46.5%) |
HSV | 252°, 61.4, 67.1 |
XYZ | 13.229, 8.863, 39.542 |
---|---|
Hunter Lab | 29.771, 27.22, -57.91 |
CIE-LAB | 35.719, 36.192, -53.52 |
CIE-LCH | 35.719, 64.608, 304.068 |
CIE-LUV | 49.12, 61.4, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5742ab
CMYK percent of color #5742ab
Text with hexadecimal color #5742ab
This text has a font color of #5742ab
<p style="color:#5742ab">Text here</p>
#5742ab Background Color
This box has a background color of #5742ab
<div style="background-color:#5742ab">Text here</div>
#5742ab Border Color
This box has a border color of #5742ab
<div style="border: 4px solid #5742ab">Text here</div>
CSS codes
<p style="color:#5742ab">Text here</p>
<div style="background-color:#5742ab">Text here</div>
<div style="border: 4px solid #5742ab">Text here</div>
#5742ab Color on white background
This is how a font and box color of #5742ab will look
on a white background.
#5742ab Color on black background
This is how a font and box color of #5742ab hex color will look
on a black background.