In RGB color space, #5138a4 hex color has a red value of 81, a green value of 56 and a blue value of 164.
In CMYK color space (used in color printing), #5138a4 hex color is composed of 50.61% cyan, 65.85% magenta, 0% yellow and 35.69% black.
#5138a4 color has a hue of 253.9 degrees, a saturation of 49.09% and a lightness of 43.1%.
#5138a4 hex color contains mainly BLUE.
The closest web safe color of #5138a4 is #663399
#5138a4 hex color has a decimal value of 5322916.
HEX | 5138a4 | #5138a4 |
---|---|---|
RGB | 81, 56, 164 | rgb(81, 56, 164) |
RGB Percent | 31.76, 21.96, 64.31 | rgb(31.76, 21.96, 64.31) |
CMYK | 51, 66, 0, 36 | |
HSL | 253.9°, 49.09, 43.1 | hsl(253.9, 49.09%, 43.1%) |
HSV | 253.9°, 65.9, 64.3 |
XYZ | 11.508, 7.258, 35.916 |
---|---|
Hunter Lab | 26.941, 29.102, -60.184 |
CIE-LAB | 32.387, 38.791, -54.763 |
CIE-LCH | 32.387, 67.11, 305.312 |
CIE-LUV | 50.61, 65.85, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5138a4
CMYK percent of color #5138a4
Text with hexadecimal color #5138a4
This text has a font color of #5138a4
<p style="color:#5138a4">Text here</p>
#5138a4 Background Color
This box has a background color of #5138a4
<div style="background-color:#5138a4">Text here</div>
#5138a4 Border Color
This box has a border color of #5138a4
<div style="border: 4px solid #5138a4">Text here</div>
CSS codes
<p style="color:#5138a4">Text here</p>
<div style="background-color:#5138a4">Text here</div>
<div style="border: 4px solid #5138a4">Text here</div>
#5138a4 Color on white background
This is how a font and box color of #5138a4 will look
on a white background.
#5138a4 Color on black background
This is how a font and box color of #5138a4 hex color will look
on a black background.