In RGB color space, #5157cf hex color has a red value of 81, a green value of 87 and a blue value of 207.
In CMYK color space (used in color printing), #5157cf hex color is composed of 60.87% cyan, 57.97% magenta, 0% yellow and 18.82% black.
#5157cf color has a hue of 237.1 degrees, a saturation of 56.76% and a lightness of 56.5%.
#5157cf hex color contains mainly BLUE.
The closest web safe color of #5157cf is #6666cc
#5157cf hex color has a decimal value of 5330895.
HEX | 5157cf | #5157cf |
---|---|---|
RGB | 81, 87, 207 | rgb(81, 87, 207) |
RGB Percent | 31.76, 34.12, 81.18 | rgb(31.76, 34.12, 81.18) |
CMYK | 61, 58, 0, 19 | |
HSL | 237.1°, 56.76, 56.5 | hsl(237.1, 56.76%, 56.5%) |
HSV | 237.1°, 60.9, 81.2 |
XYZ | 18.064, 13.071, 60.602 |
---|---|
Hunter Lab | 36.154, 25.917, -74.076 |
CIE-LAB | 42.87, 33.722, -63.015 |
CIE-LCH | 42.87, 71.471, 298.153 |
CIE-LUV | 60.87, 57.97, 0, 18.82 |
Web Safe | 6666cc |
RGB percent of color #5157cf
CMYK percent of color #5157cf
Text with hexadecimal color #5157cf
This text has a font color of #5157cf
<p style="color:#5157cf">Text here</p>
#5157cf Background Color
This box has a background color of #5157cf
<div style="background-color:#5157cf">Text here</div>
#5157cf Border Color
This box has a border color of #5157cf
<div style="border: 4px solid #5157cf">Text here</div>
CSS codes
<p style="color:#5157cf">Text here</p>
<div style="background-color:#5157cf">Text here</div>
<div style="border: 4px solid #5157cf">Text here</div>
#5157cf Color on white background
This is how a font and box color of #5157cf will look
on a white background.
#5157cf Color on black background
This is how a font and box color of #5157cf hex color will look
on a black background.