In RGB color space, #5158a1 hex color has a red value of 81, a green value of 88 and a blue value of 161.
In CMYK color space (used in color printing), #5158a1 hex color is composed of 49.69% cyan, 45.34% magenta, 0% yellow and 36.86% black.
#5158a1 color has a hue of 234.8 degrees, a saturation of 33.06% and a lightness of 47.5%.
#5158a1 hex color contains mainly BLUE.
The closest web safe color of #5158a1 is #666699
#5158a1 hex color has a decimal value of 5331105.
HEX | 5158a1 | #5158a1 |
---|---|---|
RGB | 81, 88, 161 | rgb(81, 88, 161) |
RGB Percent | 31.76, 34.51, 63.14 | rgb(31.76, 34.51, 63.14) |
CMYK | 50, 45, 0, 37 | |
HSL | 234.8°, 33.06, 47.5 | hsl(234.8, 33.06%, 47.5%) |
HSV | 234.8°, 49.7, 63.1 |
XYZ | 13.316, 11.302, 35.198 |
---|---|
Hunter Lab | 33.618, 11.87, -38.543 |
CIE-LAB | 40.085, 17.942, -40.564 |
CIE-LCH | 40.085, 44.355, 293.86 |
CIE-LUV | 49.69, 45.34, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5158a1
CMYK percent of color #5158a1
Text with hexadecimal color #5158a1
This text has a font color of #5158a1
<p style="color:#5158a1">Text here</p>
#5158a1 Background Color
This box has a background color of #5158a1
<div style="background-color:#5158a1">Text here</div>
#5158a1 Border Color
This box has a border color of #5158a1
<div style="border: 4px solid #5158a1">Text here</div>
CSS codes
<p style="color:#5158a1">Text here</p>
<div style="background-color:#5158a1">Text here</div>
<div style="border: 4px solid #5158a1">Text here</div>
#5158a1 Color on white background
This is how a font and box color of #5158a1 will look
on a white background.
#5158a1 Color on black background
This is how a font and box color of #5158a1 hex color will look
on a black background.