In RGB color space, #5158b1 hex color has a red value of 81, a green value of 88 and a blue value of 177.
In CMYK color space (used in color printing), #5158b1 hex color is composed of 54.24% cyan, 50.28% magenta, 0% yellow and 30.59% black.
#5158b1 color has a hue of 235.6 degrees, a saturation of 38.1% and a lightness of 50.6%.
#5158b1 hex color contains mainly BLUE.
The closest web safe color of #5158b1 is #666699
#5158b1 hex color has a decimal value of 5331121.
HEX | 5158b1 | #5158b1 |
---|---|---|
RGB | 81, 88, 177 | rgb(81, 88, 177) |
RGB Percent | 31.76, 34.51, 69.41 | rgb(31.76, 34.51, 69.41) |
CMYK | 54, 50, 0, 31 | |
HSL | 235.6°, 38.1, 50.6 | hsl(235.6, 38.1%, 50.6%) |
HSV | 235.6°, 54.2, 69.4 |
XYZ | 14.819, 11.903, 43.111 |
---|---|
Hunter Lab | 34.501, 16.294, -49.936 |
CIE-LAB | 41.062, 23.155, -48.479 |
CIE-LCH | 41.062, 53.725, 295.531 |
CIE-LUV | 54.24, 50.28, 0, 30.59 |
Web Safe | 666699 |
RGB percent of color #5158b1
CMYK percent of color #5158b1
Text with hexadecimal color #5158b1
This text has a font color of #5158b1
<p style="color:#5158b1">Text here</p>
#5158b1 Background Color
This box has a background color of #5158b1
<div style="background-color:#5158b1">Text here</div>
#5158b1 Border Color
This box has a border color of #5158b1
<div style="border: 4px solid #5158b1">Text here</div>
CSS codes
<p style="color:#5158b1">Text here</p>
<div style="background-color:#5158b1">Text here</div>
<div style="border: 4px solid #5158b1">Text here</div>
#5158b1 Color on white background
This is how a font and box color of #5158b1 will look
on a white background.
#5158b1 Color on black background
This is how a font and box color of #5158b1 hex color will look
on a black background.