In RGB color space, #5156b2 hex color has a red value of 81, a green value of 86 and a blue value of 178.
In CMYK color space (used in color printing), #5156b2 hex color is composed of 54.49% cyan, 51.69% magenta, 0% yellow and 30.2% black.
#5156b2 color has a hue of 236.9 degrees, a saturation of 38.65% and a lightness of 50.8%.
#5156b2 hex color contains mainly BLUE.
The closest web safe color of #5156b2 is #666699
#5156b2 hex color has a decimal value of 5330610.
HEX | 5156b2 | #5156b2 |
---|---|---|
RGB | 81, 86, 178 | rgb(81, 86, 178) |
RGB Percent | 31.76, 33.73, 69.8 | rgb(31.76, 33.73, 69.8) |
CMYK | 54, 52, 0, 30 | |
HSL | 236.9°, 38.65, 50.8 | hsl(236.9, 38.65%, 50.8%) |
HSV | 236.9°, 54.5, 69.8 |
XYZ | 14.757, 11.619, 43.584 |
---|---|
Hunter Lab | 34.087, 17.626, -51.949 |
CIE-LAB | 40.604, 24.751, -49.803 |
CIE-LCH | 40.604, 55.614, 296.426 |
CIE-LUV | 54.49, 51.69, 0, 30.2 |
Web Safe | 666699 |
RGB percent of color #5156b2
CMYK percent of color #5156b2
Text with hexadecimal color #5156b2
This text has a font color of #5156b2
<p style="color:#5156b2">Text here</p>
#5156b2 Background Color
This box has a background color of #5156b2
<div style="background-color:#5156b2">Text here</div>
#5156b2 Border Color
This box has a border color of #5156b2
<div style="border: 4px solid #5156b2">Text here</div>
CSS codes
<p style="color:#5156b2">Text here</p>
<div style="background-color:#5156b2">Text here</div>
<div style="border: 4px solid #5156b2">Text here</div>
#5156b2 Color on white background
This is how a font and box color of #5156b2 will look
on a white background.
#5156b2 Color on black background
This is how a font and box color of #5156b2 hex color will look
on a black background.