In RGB color space, #5151a4 hex color has a red value of 81, a green value of 81 and a blue value of 164.
In CMYK color space (used in color printing), #5151a4 hex color is composed of 50.61% cyan, 50.61% magenta, 0% yellow and 35.69% black.
#5151a4 color has a hue of 240 degrees, a saturation of 33.88% and a lightness of 48%.
#5151a4 hex color contains mainly BLUE.
The closest web safe color of #5151a4 is #666699
#5151a4 hex color has a decimal value of 5329316.
HEX | 5151a4 | #5151a4 |
---|---|---|
RGB | 81, 81, 164 | rgb(81, 81, 164) |
RGB Percent | 31.76, 31.76, 64.31 | rgb(31.76, 31.76, 64.31) |
CMYK | 51, 51, 0, 36 | |
HSL | 240°, 33.88, 48 | hsl(240, 33.88%, 48%) |
HSV | 240°, 50.6, 64.3 |
XYZ | 13.037, 10.315, 36.426 |
---|---|
Hunter Lab | 32.117, 16.252, -44.763 |
CIE-LAB | 38.402, 23.368, -45.043 |
CIE-LCH | 38.402, 50.744, 297.42 |
CIE-LUV | 50.61, 50.61, 0, 35.69 |
Web Safe | 666699 |
RGB percent of color #5151a4
CMYK percent of color #5151a4
Text with hexadecimal color #5151a4
This text has a font color of #5151a4
<p style="color:#5151a4">Text here</p>
#5151a4 Background Color
This box has a background color of #5151a4
<div style="background-color:#5151a4">Text here</div>
#5151a4 Border Color
This box has a border color of #5151a4
<div style="border: 4px solid #5151a4">Text here</div>
CSS codes
<p style="color:#5151a4">Text here</p>
<div style="background-color:#5151a4">Text here</div>
<div style="border: 4px solid #5151a4">Text here</div>
#5151a4 Color on white background
This is how a font and box color of #5151a4 will look
on a white background.
#5151a4 Color on black background
This is how a font and box color of #5151a4 hex color will look
on a black background.