In RGB color space, #5157b0 hex color has a red value of 81, a green value of 87 and a blue value of 176.
In CMYK color space (used in color printing), #5157b0 hex color is composed of 53.98% cyan, 50.57% magenta, 0% yellow and 30.98% black.
#5157b0 color has a hue of 236.2 degrees, a saturation of 37.55% and a lightness of 50.4%.
#5157b0 hex color contains mainly BLUE.
The closest web safe color of #5157b0 is #666699
#5157b0 hex color has a decimal value of 5330864.
HEX | 5157b0 | #5157b0 |
---|---|---|
RGB | 81, 87, 176 | rgb(81, 87, 176) |
RGB Percent | 31.76, 34.12, 69.02 | rgb(31.76, 34.12, 69.02) |
CMYK | 54, 51, 0, 31 | |
HSL | 236.2°, 37.55, 50.4 | hsl(236.2, 37.55%, 50.4%) |
HSV | 236.2°, 54, 69 |
XYZ | 14.638, 11.7, 42.561 |
---|---|
Hunter Lab | 34.205, 16.529, -49.83 |
CIE-LAB | 40.735, 23.461, -48.414 |
CIE-LCH | 40.735, 53.799, 295.854 |
CIE-LUV | 53.98, 50.57, 0, 30.98 |
Web Safe | 666699 |
RGB percent of color #5157b0
CMYK percent of color #5157b0
Text with hexadecimal color #5157b0
This text has a font color of #5157b0
<p style="color:#5157b0">Text here</p>
#5157b0 Background Color
This box has a background color of #5157b0
<div style="background-color:#5157b0">Text here</div>
#5157b0 Border Color
This box has a border color of #5157b0
<div style="border: 4px solid #5157b0">Text here</div>
CSS codes
<p style="color:#5157b0">Text here</p>
<div style="background-color:#5157b0">Text here</div>
<div style="border: 4px solid #5157b0">Text here</div>
#5157b0 Color on white background
This is how a font and box color of #5157b0 will look
on a white background.
#5157b0 Color on black background
This is how a font and box color of #5157b0 hex color will look
on a black background.