In RGB color space, #5158cf hex color has a red value of 81, a green value of 88 and a blue value of 207.
In CMYK color space (used in color printing), #5158cf hex color is composed of 60.87% cyan, 57.49% magenta, 0% yellow and 18.82% black.
#5158cf color has a hue of 236.7 degrees, a saturation of 56.76% and a lightness of 56.5%.
#5158cf hex color contains mainly BLUE.
The closest web safe color of #5158cf is #6666cc
#5158cf hex color has a decimal value of 5331151.
HEX | 5158cf | #5158cf |
---|---|---|
RGB | 81, 88, 207 | rgb(81, 88, 207) |
RGB Percent | 31.76, 34.51, 81.18 | rgb(31.76, 34.51, 81.18) |
CMYK | 61, 57, 0, 19 | |
HSL | 236.7°, 56.76, 56.5 | hsl(236.7, 56.76%, 56.5%) |
HSV | 236.7°, 60.9, 81.2 |
XYZ | 18.146, 13.234, 60.629 |
---|---|
Hunter Lab | 36.379, 25.375, -73.349 |
CIE-LAB | 43.114, 33.106, -62.619 |
CIE-LCH | 43.114, 70.832, 297.865 |
CIE-LUV | 60.87, 57.49, 0, 18.82 |
Web Safe | 6666cc |
RGB percent of color #5158cf
CMYK percent of color #5158cf
Text with hexadecimal color #5158cf
This text has a font color of #5158cf
<p style="color:#5158cf">Text here</p>
#5158cf Background Color
This box has a background color of #5158cf
<div style="background-color:#5158cf">Text here</div>
#5158cf Border Color
This box has a border color of #5158cf
<div style="border: 4px solid #5158cf">Text here</div>
CSS codes
<p style="color:#5158cf">Text here</p>
<div style="background-color:#5158cf">Text here</div>
<div style="border: 4px solid #5158cf">Text here</div>
#5158cf Color on white background
This is how a font and box color of #5158cf will look
on a white background.
#5158cf Color on black background
This is how a font and box color of #5158cf hex color will look
on a black background.