In RGB color space, #5162b2 hex color has a red value of 81, a green value of 98 and a blue value of 178.
In CMYK color space (used in color printing), #5162b2 hex color is composed of 54.49% cyan, 44.94% magenta, 0% yellow and 30.2% black.
#5162b2 color has a hue of 229.5 degrees, a saturation of 38.65% and a lightness of 50.8%.
#5162b2 hex color contains mainly BLUE.
The closest web safe color of #5162b2 is #666699
#5162b2 hex color has a decimal value of 5333682.
HEX | 5162b2 | #5162b2 |
---|---|---|
RGB | 81, 98, 178 | rgb(81, 98, 178) |
RGB Percent | 31.76, 38.43, 69.8 | rgb(31.76, 38.43, 69.8) |
CMYK | 54, 45, 0, 30 | |
HSL | 229.5°, 38.65, 50.8 | hsl(229.5, 38.65%, 50.8%) |
HSV | 229.5°, 54.5, 69.8 |
XYZ | 15.797, 13.699, 43.931 |
---|---|
Hunter Lab | 37.012, 11.414, -44.465 |
CIE-LAB | 43.798, 17.154, -44.686 |
CIE-LCH | 43.798, 47.865, 291.001 |
CIE-LUV | 54.49, 44.94, 0, 30.2 |
Web Safe | 666699 |
RGB percent of color #5162b2
CMYK percent of color #5162b2
Text with hexadecimal color #5162b2
This text has a font color of #5162b2
<p style="color:#5162b2">Text here</p>
#5162b2 Background Color
This box has a background color of #5162b2
<div style="background-color:#5162b2">Text here</div>
#5162b2 Border Color
This box has a border color of #5162b2
<div style="border: 4px solid #5162b2">Text here</div>
CSS codes
<p style="color:#5162b2">Text here</p>
<div style="background-color:#5162b2">Text here</div>
<div style="border: 4px solid #5162b2">Text here</div>
#5162b2 Color on white background
This is how a font and box color of #5162b2 will look
on a white background.
#5162b2 Color on black background
This is how a font and box color of #5162b2 hex color will look
on a black background.