In RGB color space, #5162a3 hex color has a red value of 81, a green value of 98 and a blue value of 163.
In CMYK color space (used in color printing), #5162a3 hex color is composed of 50.31% cyan, 39.88% magenta, 0% yellow and 36.08% black.
#5162a3 color has a hue of 227.6 degrees, a saturation of 33.61% and a lightness of 47.8%.
#5162a3 hex color contains mainly BLUE.
The closest web safe color of #5162a3 is #666699
#5162a3 hex color has a decimal value of 5333667.
HEX | 5162a3 | #5162a3 |
---|---|---|
RGB | 81, 98, 163 | rgb(81, 98, 163) |
RGB Percent | 31.76, 38.43, 63.92 | rgb(31.76, 38.43, 63.92) |
CMYK | 50, 40, 0, 36 | |
HSL | 227.6°, 33.61, 47.8 | hsl(227.6, 33.61%, 47.8%) |
HSV | 227.6°, 50.3, 63.9 |
XYZ | 14.372, 13.129, 36.427 |
---|---|
Hunter Lab | 36.234, 7.392, -34.242 |
CIE-LAB | 42.957, 12.252, -37.191 |
CIE-LCH | 42.957, 39.157, 288.234 |
CIE-LUV | 50.31, 39.88, 0, 36.08 |
Web Safe | 666699 |
RGB percent of color #5162a3
CMYK percent of color #5162a3
Text with hexadecimal color #5162a3
This text has a font color of #5162a3
<p style="color:#5162a3">Text here</p>
#5162a3 Background Color
This box has a background color of #5162a3
<div style="background-color:#5162a3">Text here</div>
#5162a3 Border Color
This box has a border color of #5162a3
<div style="border: 4px solid #5162a3">Text here</div>
CSS codes
<p style="color:#5162a3">Text here</p>
<div style="background-color:#5162a3">Text here</div>
<div style="border: 4px solid #5162a3">Text here</div>
#5162a3 Color on white background
This is how a font and box color of #5162a3 will look
on a white background.
#5162a3 Color on black background
This is how a font and box color of #5162a3 hex color will look
on a black background.