In RGB color space, #5157a4 hex color has a red value of 81, a green value of 87 and a blue value of 164.
In CMYK color space (used in color printing), #5157a4 hex color is composed of 50.61% cyan, 46.95% magenta, 0% yellow and 35.69% black.
#5157a4 color has a hue of 235.7 degrees, a saturation of 33.88% and a lightness of 48%.
#5157a4 hex color contains mainly BLUE.
The closest web safe color of #5157a4 is #666699
#5157a4 hex color has a decimal value of 5330852.
HEX | 5157a4 | #5157a4 |
---|---|---|
RGB | 81, 87, 164 | rgb(81, 87, 164) |
RGB Percent | 31.76, 34.12, 64.31 | rgb(31.76, 34.12, 64.31) |
CMYK | 51, 47, 0, 36 | |
HSL | 235.7°, 33.88, 48 | hsl(235.7, 33.88%, 48%) |
HSV | 235.7°, 50.6, 64.3 |
XYZ | 13.502, 11.246, 36.581 |
---|---|
Hunter Lab | 33.535, 13.182, -41.201 |
CIE-LAB | 39.992, 19.546, -42.499 |
CIE-LCH | 39.992, 46.778, 294.698 |
CIE-LUV | 50.61, 46.95, 0, 35.69 |
Web Safe | 666699 |
RGB percent of color #5157a4
CMYK percent of color #5157a4
Text with hexadecimal color #5157a4
This text has a font color of #5157a4
<p style="color:#5157a4">Text here</p>
#5157a4 Background Color
This box has a background color of #5157a4
<div style="background-color:#5157a4">Text here</div>
#5157a4 Border Color
This box has a border color of #5157a4
<div style="border: 4px solid #5157a4">Text here</div>
CSS codes
<p style="color:#5157a4">Text here</p>
<div style="background-color:#5157a4">Text here</div>
<div style="border: 4px solid #5157a4">Text here</div>
#5157a4 Color on white background
This is how a font and box color of #5157a4 will look
on a white background.
#5157a4 Color on black background
This is how a font and box color of #5157a4 hex color will look
on a black background.