In RGB color space, #5156b7 hex color has a red value of 81, a green value of 86 and a blue value of 183.
In CMYK color space (used in color printing), #5156b7 hex color is composed of 55.74% cyan, 53.01% magenta, 0% yellow and 28.24% black.
#5156b7 color has a hue of 237.1 degrees, a saturation of 41.46% and a lightness of 51.8%.
#5156b7 hex color contains mainly BLUE.
The closest web safe color of #5156b7 is #6666cc
#5156b7 hex color has a decimal value of 5330615.
HEX | 5156b7 | #5156b7 |
---|---|---|
RGB | 81, 86, 183 | rgb(81, 86, 183) |
RGB Percent | 31.76, 33.73, 71.76 | rgb(31.76, 33.73, 71.76) |
CMYK | 56, 53, 0, 28 | |
HSL | 237.1°, 41.46, 51.8 | hsl(237.1, 41.46%, 51.8%) |
HSV | 237.1°, 55.7, 71.8 |
XYZ | 15.268, 11.824, 46.277 |
---|---|
Hunter Lab | 34.386, 19.082, -55.723 |
CIE-LAB | 40.935, 26.392, -52.208 |
CIE-LCH | 40.935, 58.5, 296.817 |
CIE-LUV | 55.74, 53.01, 0, 28.24 |
Web Safe | 6666cc |
RGB percent of color #5156b7
CMYK percent of color #5156b7
Text with hexadecimal color #5156b7
This text has a font color of #5156b7
<p style="color:#5156b7">Text here</p>
#5156b7 Background Color
This box has a background color of #5156b7
<div style="background-color:#5156b7">Text here</div>
#5156b7 Border Color
This box has a border color of #5156b7
<div style="border: 4px solid #5156b7">Text here</div>
CSS codes
<p style="color:#5156b7">Text here</p>
<div style="background-color:#5156b7">Text here</div>
<div style="border: 4px solid #5156b7">Text here</div>
#5156b7 Color on white background
This is how a font and box color of #5156b7 will look
on a white background.
#5156b7 Color on black background
This is how a font and box color of #5156b7 hex color will look
on a black background.