In RGB color space, #5152b4 hex color has a red value of 81, a green value of 82 and a blue value of 180.
In CMYK color space (used in color printing), #5152b4 hex color is composed of 55% cyan, 54.44% magenta, 0% yellow and 29.41% black.
#5152b4 color has a hue of 239.4 degrees, a saturation of 39.76% and a lightness of 51.2%.
#5152b4 hex color contains mainly BLUE.
The closest web safe color of #5152b4 is #6666cc
#5152b4 hex color has a decimal value of 5329588.
HEX | 5152b4 | #5152b4 |
---|---|---|
RGB | 81, 82, 180 | rgb(81, 82, 180) |
RGB Percent | 31.76, 32.16, 70.59 | rgb(31.76, 32.16, 70.59) |
CMYK | 55, 54, 0, 29 | |
HSL | 239.4°, 39.76, 51.2 | hsl(239.4, 39.76%, 51.2%) |
HSV | 239.4°, 55, 70.6 |
XYZ | 14.649, 11.079, 44.546 |
---|---|
Hunter Lab | 33.285, 20.31, -56.049 |
CIE-LAB | 39.713, 27.934, -52.415 |
CIE-LCH | 39.713, 59.394, 298.055 |
CIE-LUV | 55, 54.44, 0, 29.41 |
Web Safe | 6666cc |
RGB percent of color #5152b4
CMYK percent of color #5152b4
Text with hexadecimal color #5152b4
This text has a font color of #5152b4
<p style="color:#5152b4">Text here</p>
#5152b4 Background Color
This box has a background color of #5152b4
<div style="background-color:#5152b4">Text here</div>
#5152b4 Border Color
This box has a border color of #5152b4
<div style="border: 4px solid #5152b4">Text here</div>
CSS codes
<p style="color:#5152b4">Text here</p>
<div style="background-color:#5152b4">Text here</div>
<div style="border: 4px solid #5152b4">Text here</div>
#5152b4 Color on white background
This is how a font and box color of #5152b4 will look
on a white background.
#5152b4 Color on black background
This is how a font and box color of #5152b4 hex color will look
on a black background.