In RGB color space, #5138a5 hex color has a red value of 81, a green value of 56 and a blue value of 165.
In CMYK color space (used in color printing), #5138a5 hex color is composed of 50.91% cyan, 66.06% magenta, 0% yellow and 35.29% black.
#5138a5 color has a hue of 253.8 degrees, a saturation of 49.32% and a lightness of 43.3%.
#5138a5 hex color contains mainly BLUE.
The closest web safe color of #5138a5 is #663399
#5138a5 hex color has a decimal value of 5322917.
HEX | 5138a5 | #5138a5 |
---|---|---|
RGB | 81, 56, 165 | rgb(81, 56, 165) |
RGB Percent | 31.76, 21.96, 64.71 | rgb(31.76, 21.96, 64.71) |
CMYK | 51, 66, 0, 35 | |
HSL | 253.8°, 49.32, 43.3 | hsl(253.8, 49.32%, 43.3%) |
HSV | 253.8°, 66.1, 64.7 |
XYZ | 11.599, 7.294, 36.394 |
---|---|
Hunter Lab | 27.007, 29.398, -60.991 |
CIE-LAB | 32.467, 39.097, -55.235 |
CIE-LCH | 32.467, 67.672, 305.292 |
CIE-LUV | 50.91, 66.06, 0, 35.29 |
Web Safe | 663399 |
RGB percent of color #5138a5
CMYK percent of color #5138a5
Text with hexadecimal color #5138a5
This text has a font color of #5138a5
<p style="color:#5138a5">Text here</p>
#5138a5 Background Color
This box has a background color of #5138a5
<div style="background-color:#5138a5">Text here</div>
#5138a5 Border Color
This box has a border color of #5138a5
<div style="border: 4px solid #5138a5">Text here</div>
CSS codes
<p style="color:#5138a5">Text here</p>
<div style="background-color:#5138a5">Text here</div>
<div style="border: 4px solid #5138a5">Text here</div>
#5138a5 Color on white background
This is how a font and box color of #5138a5 will look
on a white background.
#5138a5 Color on black background
This is how a font and box color of #5138a5 hex color will look
on a black background.