In RGB color space, #5158b7 hex color has a red value of 81, a green value of 88 and a blue value of 183.
In CMYK color space (used in color printing), #5158b7 hex color is composed of 55.74% cyan, 51.91% magenta, 0% yellow and 28.24% black.
#5158b7 color has a hue of 235.9 degrees, a saturation of 41.46% and a lightness of 51.8%.
#5158b7 hex color contains mainly BLUE.
The closest web safe color of #5158b7 is #6666cc
#5158b7 hex color has a decimal value of 5331127.
HEX | 5158b7 | #5158b7 |
---|---|---|
RGB | 81, 88, 183 | rgb(81, 88, 183) |
RGB Percent | 31.76, 34.51, 71.76 | rgb(31.76, 34.51, 71.76) |
CMYK | 56, 52, 0, 28 | |
HSL | 235.9°, 41.46, 51.8 | hsl(235.9, 41.46%, 51.8%) |
HSV | 235.9°, 55.7, 71.8 |
XYZ | 15.43, 12.148, 46.331 |
---|---|
Hunter Lab | 34.854, 18.028, -54.416 |
CIE-LAB | 41.45, 25.128, -51.377 |
CIE-LCH | 41.45, 57.193, 296.063 |
CIE-LUV | 55.74, 51.91, 0, 28.24 |
Web Safe | 6666cc |
RGB percent of color #5158b7
CMYK percent of color #5158b7
Text with hexadecimal color #5158b7
This text has a font color of #5158b7
<p style="color:#5158b7">Text here</p>
#5158b7 Background Color
This box has a background color of #5158b7
<div style="background-color:#5158b7">Text here</div>
#5158b7 Border Color
This box has a border color of #5158b7
<div style="border: 4px solid #5158b7">Text here</div>
CSS codes
<p style="color:#5158b7">Text here</p>
<div style="background-color:#5158b7">Text here</div>
<div style="border: 4px solid #5158b7">Text here</div>
#5158b7 Color on white background
This is how a font and box color of #5158b7 will look
on a white background.
#5158b7 Color on black background
This is how a font and box color of #5158b7 hex color will look
on a black background.