In RGB color space, #5157b6 hex color has a red value of 81, a green value of 87 and a blue value of 182.
In CMYK color space (used in color printing), #5157b6 hex color is composed of 55.49% cyan, 52.2% magenta, 0% yellow and 28.63% black.
#5157b6 color has a hue of 236.4 degrees, a saturation of 40.89% and a lightness of 51.6%.
#5157b6 hex color contains mainly BLUE.
The closest web safe color of #5157b6 is #6666cc
#5157b6 hex color has a decimal value of 5330870.
HEX | 5157b6 | #5157b6 |
---|---|---|
RGB | 81, 87, 182 | rgb(81, 87, 182) |
RGB Percent | 31.76, 34.12, 71.37 | rgb(31.76, 34.12, 71.37) |
CMYK | 55, 52, 0, 29 | |
HSL | 236.4°, 40.89, 51.6 | hsl(236.4, 40.89%, 51.6%) |
HSV | 236.4°, 55.5, 71.4 |
XYZ | 15.245, 11.943, 45.758 |
---|---|
Hunter Lab | 34.559, 18.265, -54.313 |
CIE-LAB | 41.125, 25.434, -51.315 |
CIE-LCH | 41.125, 57.272, 296.365 |
CIE-LUV | 55.49, 52.2, 0, 28.63 |
Web Safe | 6666cc |
RGB percent of color #5157b6
CMYK percent of color #5157b6
Text with hexadecimal color #5157b6
This text has a font color of #5157b6
<p style="color:#5157b6">Text here</p>
#5157b6 Background Color
This box has a background color of #5157b6
<div style="background-color:#5157b6">Text here</div>
#5157b6 Border Color
This box has a border color of #5157b6
<div style="border: 4px solid #5157b6">Text here</div>
CSS codes
<p style="color:#5157b6">Text here</p>
<div style="background-color:#5157b6">Text here</div>
<div style="border: 4px solid #5157b6">Text here</div>
#5157b6 Color on white background
This is how a font and box color of #5157b6 will look
on a white background.
#5157b6 Color on black background
This is how a font and box color of #5157b6 hex color will look
on a black background.