In RGB color space, #5170a8 hex color has a red value of 81, a green value of 112 and a blue value of 168.
In CMYK color space (used in color printing), #5170a8 hex color is composed of 51.79% cyan, 33.33% magenta, 0% yellow and 34.12% black.
#5170a8 color has a hue of 218.6 degrees, a saturation of 34.94% and a lightness of 48.8%.
#5170a8 hex color contains mainly BLUE.
The closest web safe color of #5170a8 is #666699
#5170a8 hex color has a decimal value of 5337256.
HEX | 5170a8 | #5170a8 |
---|---|---|
RGB | 81, 112, 168 | rgb(81, 112, 168) |
RGB Percent | 31.76, 43.92, 65.88 | rgb(31.76, 43.92, 65.88) |
CMYK | 52, 33, 0, 34 | |
HSL | 218.6°, 34.94, 48.8 | hsl(218.6, 34.94%, 48.8%) |
HSV | 218.6°, 51.8, 65.9 |
XYZ | 16.255, 16.165, 39.309 |
---|---|
Hunter Lab | 40.206, 1.807, -29.824 |
CIE-LAB | 47.19, 5.164, -33.461 |
CIE-LCH | 47.19, 33.857, 278.773 |
CIE-LUV | 51.79, 33.33, 0, 34.12 |
Web Safe | 666699 |
RGB percent of color #5170a8
CMYK percent of color #5170a8
Text with hexadecimal color #5170a8
This text has a font color of #5170a8
<p style="color:#5170a8">Text here</p>
#5170a8 Background Color
This box has a background color of #5170a8
<div style="background-color:#5170a8">Text here</div>
#5170a8 Border Color
This box has a border color of #5170a8
<div style="border: 4px solid #5170a8">Text here</div>
CSS codes
<p style="color:#5170a8">Text here</p>
<div style="background-color:#5170a8">Text here</div>
<div style="border: 4px solid #5170a8">Text here</div>
#5170a8 Color on white background
This is how a font and box color of #5170a8 will look
on a white background.
#5170a8 Color on black background
This is how a font and box color of #5170a8 hex color will look
on a black background.