In RGB color space, #5158c8 hex color has a red value of 81, a green value of 88 and a blue value of 200.
In CMYK color space (used in color printing), #5158c8 hex color is composed of 59.5% cyan, 56% magenta, 0% yellow and 21.57% black.
#5158c8 color has a hue of 236.5 degrees, a saturation of 51.97% and a lightness of 55.1%.
#5158c8 hex color contains mainly BLUE.
The closest web safe color of #5158c8 is #6666cc
#5158c8 hex color has a decimal value of 5331144.
HEX | 5158c8 | #5158c8 |
---|---|---|
RGB | 81, 88, 200 | rgb(81, 88, 200) |
RGB Percent | 31.76, 34.51, 78.43 | rgb(31.76, 34.51, 78.43) |
CMYK | 60, 56, 0, 22 | |
HSL | 236.5°, 51.97, 55.1 | hsl(236.5, 51.97%, 55.1%) |
HSV | 236.5°, 59.5, 78.4 |
XYZ | 17.308, 12.899, 56.221 |
---|---|
Hunter Lab | 35.915, 23.17, -67.671 |
CIE-LAB | 42.611, 30.772, -59.398 |
CIE-LCH | 42.611, 66.896, 297.387 |
CIE-LUV | 59.5, 56, 0, 21.57 |
Web Safe | 6666cc |
RGB percent of color #5158c8
CMYK percent of color #5158c8
Text with hexadecimal color #5158c8
This text has a font color of #5158c8
<p style="color:#5158c8">Text here</p>
#5158c8 Background Color
This box has a background color of #5158c8
<div style="background-color:#5158c8">Text here</div>
#5158c8 Border Color
This box has a border color of #5158c8
<div style="border: 4px solid #5158c8">Text here</div>
CSS codes
<p style="color:#5158c8">Text here</p>
<div style="background-color:#5158c8">Text here</div>
<div style="border: 4px solid #5158c8">Text here</div>
#5158c8 Color on white background
This is how a font and box color of #5158c8 will look
on a white background.
#5158c8 Color on black background
This is how a font and box color of #5158c8 hex color will look
on a black background.