In RGB color space, #5156b9 hex color has a red value of 81, a green value of 86 and a blue value of 185.
In CMYK color space (used in color printing), #5156b9 hex color is composed of 56.22% cyan, 53.51% magenta, 0% yellow and 27.45% black.
#5156b9 color has a hue of 237.1 degrees, a saturation of 42.62% and a lightness of 52.2%.
#5156b9 hex color contains mainly BLUE.
The closest web safe color of #5156b9 is #6666cc
#5156b9 hex color has a decimal value of 5330617.
HEX | 5156b9 | #5156b9 |
---|---|---|
RGB | 81, 86, 185 | rgb(81, 86, 185) |
RGB Percent | 31.76, 33.73, 72.55 | rgb(31.76, 33.73, 72.55) |
CMYK | 56, 54, 0, 27 | |
HSL | 237.1°, 42.62, 52.2 | hsl(237.1, 42.62%, 52.2%) |
HSV | 237.1°, 56.2, 72.5 |
XYZ | 15.478, 11.908, 47.382 |
---|---|
Hunter Lab | 34.508, 19.674, -57.254 |
CIE-LAB | 41.07, 27.052, -53.163 |
CIE-LCH | 41.07, 59.65, 296.969 |
CIE-LUV | 56.22, 53.51, 0, 27.45 |
Web Safe | 6666cc |
RGB percent of color #5156b9
CMYK percent of color #5156b9
Text with hexadecimal color #5156b9
This text has a font color of #5156b9
<p style="color:#5156b9">Text here</p>
#5156b9 Background Color
This box has a background color of #5156b9
<div style="background-color:#5156b9">Text here</div>
#5156b9 Border Color
This box has a border color of #5156b9
<div style="border: 4px solid #5156b9">Text here</div>
CSS codes
<p style="color:#5156b9">Text here</p>
<div style="background-color:#5156b9">Text here</div>
<div style="border: 4px solid #5156b9">Text here</div>
#5156b9 Color on white background
This is how a font and box color of #5156b9 will look
on a white background.
#5156b9 Color on black background
This is how a font and box color of #5156b9 hex color will look
on a black background.