In RGB color space, #5157a3 hex color has a red value of 81, a green value of 87 and a blue value of 163.
In CMYK color space (used in color printing), #5157a3 hex color is composed of 50.31% cyan, 46.63% magenta, 0% yellow and 36.08% black.
#5157a3 color has a hue of 235.6 degrees, a saturation of 33.61% and a lightness of 47.8%.
#5157a3 hex color contains mainly BLUE.
The closest web safe color of #5157a3 is #666699
#5157a3 hex color has a decimal value of 5330851.
HEX | 5157a3 | #5157a3 |
---|---|---|
RGB | 81, 87, 163 | rgb(81, 87, 163) |
RGB Percent | 31.76, 34.12, 63.92 | rgb(31.76, 34.12, 63.92) |
CMYK | 50, 47, 0, 36 | |
HSL | 235.6°, 33.61, 47.8 | hsl(235.6, 33.61%, 47.8%) |
HSV | 235.6°, 50.3, 63.9 |
XYZ | 13.412, 11.21, 36.107 |
---|---|
Hunter Lab | 33.481, 12.911, -40.503 |
CIE-LAB | 39.932, 19.223, -41.999 |
CIE-LCH | 39.932, 46.189, 294.594 |
CIE-LUV | 50.31, 46.63, 0, 36.08 |
Web Safe | 666699 |
RGB percent of color #5157a3
CMYK percent of color #5157a3
Text with hexadecimal color #5157a3
This text has a font color of #5157a3
<p style="color:#5157a3">Text here</p>
#5157a3 Background Color
This box has a background color of #5157a3
<div style="background-color:#5157a3">Text here</div>
#5157a3 Border Color
This box has a border color of #5157a3
<div style="border: 4px solid #5157a3">Text here</div>
CSS codes
<p style="color:#5157a3">Text here</p>
<div style="background-color:#5157a3">Text here</div>
<div style="border: 4px solid #5157a3">Text here</div>
#5157a3 Color on white background
This is how a font and box color of #5157a3 will look
on a white background.
#5157a3 Color on black background
This is how a font and box color of #5157a3 hex color will look
on a black background.