In RGB color space, #5162d5 hex color has a red value of 81, a green value of 98 and a blue value of 213.
In CMYK color space (used in color printing), #5162d5 hex color is composed of 61.97% cyan, 53.99% magenta, 0% yellow and 16.47% black.
#5162d5 color has a hue of 232.3 degrees, a saturation of 61.11% and a lightness of 57.6%.
#5162d5 hex color contains mainly BLUE.
The closest web safe color of #5162d5 is #6666cc
#5162d5 hex color has a decimal value of 5333717.
HEX | 5162d5 | #5162d5 |
---|---|---|
RGB | 81, 98, 213 | rgb(81, 98, 213) |
RGB Percent | 31.76, 38.43, 83.53 | rgb(31.76, 38.43, 83.53) |
CMYK | 62, 54, 0, 16 | |
HSL | 232.3°, 61.11, 57.6 | hsl(232.3, 61.11%, 57.6%) |
HSV | 232.3°, 62, 83.5 |
XYZ | 19.771, 15.289, 64.86 |
---|---|
Hunter Lab | 39.101, 21.829, -70.978 |
CIE-LAB | 46.028, 28.896, -61.337 |
CIE-LCH | 46.028, 67.803, 295.225 |
CIE-LUV | 61.97, 53.99, 0, 16.47 |
Web Safe | 6666cc |
RGB percent of color #5162d5
CMYK percent of color #5162d5
Text with hexadecimal color #5162d5
This text has a font color of #5162d5
<p style="color:#5162d5">Text here</p>
#5162d5 Background Color
This box has a background color of #5162d5
<div style="background-color:#5162d5">Text here</div>
#5162d5 Border Color
This box has a border color of #5162d5
<div style="border: 4px solid #5162d5">Text here</div>
CSS codes
<p style="color:#5162d5">Text here</p>
<div style="background-color:#5162d5">Text here</div>
<div style="border: 4px solid #5162d5">Text here</div>
#5162d5 Color on white background
This is how a font and box color of #5162d5 will look
on a white background.
#5162d5 Color on black background
This is how a font and box color of #5162d5 hex color will look
on a black background.