In RGB color space, #5742af hex color has a red value of 87, a green value of 66 and a blue value of 175.
In CMYK color space (used in color printing), #5742af hex color is composed of 50.29% cyan, 62.29% magenta, 0% yellow and 31.37% black.
#5742af color has a hue of 251.6 degrees, a saturation of 45.23% and a lightness of 47.3%.
#5742af hex color contains mainly BLUE.
The closest web safe color of #5742af is #663399
#5742af hex color has a decimal value of 5718703.
HEX | 5742af | #5742af |
---|---|---|
RGB | 87, 66, 175 | rgb(87, 66, 175) |
RGB Percent | 34.12, 25.88, 68.63 | rgb(34.12, 25.88, 68.63) |
CMYK | 50, 62, 0, 31 | |
HSL | 251.6°, 45.23, 47.3 | hsl(251.6, 45.23%, 47.3%) |
HSV | 251.6°, 62.3, 68.6 |
XYZ | 13.617, 9.018, 41.58 |
---|---|
Hunter Lab | 30.03, 28.388, -61.073 |
CIE-LAB | 36.019, 37.409, -55.414 |
CIE-LCH | 36.019, 66.859, 304.023 |
CIE-LUV | 50.29, 62.29, 0, 31.37 |
Web Safe | 663399 |
RGB percent of color #5742af
CMYK percent of color #5742af
Text with hexadecimal color #5742af
This text has a font color of #5742af
<p style="color:#5742af">Text here</p>
#5742af Background Color
This box has a background color of #5742af
<div style="background-color:#5742af">Text here</div>
#5742af Border Color
This box has a border color of #5742af
<div style="border: 4px solid #5742af">Text here</div>
CSS codes
<p style="color:#5742af">Text here</p>
<div style="background-color:#5742af">Text here</div>
<div style="border: 4px solid #5742af">Text here</div>
#5742af Color on white background
This is how a font and box color of #5742af will look
on a white background.
#5742af Color on black background
This is how a font and box color of #5742af hex color will look
on a black background.