In RGB color space, #5156a0 hex color has a red value of 81, a green value of 86 and a blue value of 160.
In CMYK color space (used in color printing), #5156a0 hex color is composed of 49.38% cyan, 46.25% magenta, 0% yellow and 37.25% black.
#5156a0 color has a hue of 236.2 degrees, a saturation of 32.78% and a lightness of 47.3%.
#5156a0 hex color contains mainly BLUE.
The closest web safe color of #5156a0 is #666699
#5156a0 hex color has a decimal value of 5330592.
HEX | 5156a0 | #5156a0 |
---|---|---|
RGB | 81, 86, 160 | rgb(81, 86, 160) |
RGB Percent | 31.76, 33.73, 62.75 | rgb(31.76, 33.73, 62.75) |
CMYK | 49, 46, 0, 37 | |
HSL | 236.2°, 32.78, 47.3 | hsl(236.2, 32.78%, 47.3%) |
HSV | 236.2°, 49.4, 62.7 |
XYZ | 13.066, 10.943, 34.681 |
---|---|
Hunter Lab | 33.08, 12.613, -39.003 |
CIE-LAB | 39.484, 18.894, -40.924 |
CIE-LCH | 39.484, 45.075, 294.782 |
CIE-LUV | 49.38, 46.25, 0, 37.25 |
Web Safe | 666699 |
RGB percent of color #5156a0
CMYK percent of color #5156a0
Text with hexadecimal color #5156a0
This text has a font color of #5156a0
<p style="color:#5156a0">Text here</p>
#5156a0 Background Color
This box has a background color of #5156a0
<div style="background-color:#5156a0">Text here</div>
#5156a0 Border Color
This box has a border color of #5156a0
<div style="border: 4px solid #5156a0">Text here</div>
CSS codes
<p style="color:#5156a0">Text here</p>
<div style="background-color:#5156a0">Text here</div>
<div style="border: 4px solid #5156a0">Text here</div>
#5156a0 Color on white background
This is how a font and box color of #5156a0 will look
on a white background.
#5156a0 Color on black background
This is how a font and box color of #5156a0 hex color will look
on a black background.