In RGB color space, #5157b4 hex color has a red value of 81, a green value of 87 and a blue value of 180.
In CMYK color space (used in color printing), #5157b4 hex color is composed of 55% cyan, 51.67% magenta, 0% yellow and 29.41% black.
#5157b4 color has a hue of 236.4 degrees, a saturation of 39.76% and a lightness of 51.2%.
#5157b4 hex color contains mainly BLUE.
The closest web safe color of #5157b4 is #6666cc
#5157b4 hex color has a decimal value of 5330868.
HEX | 5157b4 | #5157b4 |
---|---|---|
RGB | 81, 87, 180 | rgb(81, 87, 180) |
RGB Percent | 31.76, 34.12, 70.59 | rgb(31.76, 34.12, 70.59) |
CMYK | 55, 52, 0, 29 | |
HSL | 236.4°, 39.76, 51.2 | hsl(236.4, 39.76%, 51.2%) |
HSV | 236.4°, 55, 70.6 |
XYZ | 15.04, 11.861, 44.677 |
---|---|
Hunter Lab | 34.44, 17.682, -52.806 |
CIE-LAB | 40.994, 24.776, -50.352 |
CIE-LCH | 40.994, 56.118, 296.2 |
CIE-LUV | 55, 51.67, 0, 29.41 |
Web Safe | 6666cc |
RGB percent of color #5157b4
CMYK percent of color #5157b4
Text with hexadecimal color #5157b4
This text has a font color of #5157b4
<p style="color:#5157b4">Text here</p>
#5157b4 Background Color
This box has a background color of #5157b4
<div style="background-color:#5157b4">Text here</div>
#5157b4 Border Color
This box has a border color of #5157b4
<div style="border: 4px solid #5157b4">Text here</div>
CSS codes
<p style="color:#5157b4">Text here</p>
<div style="background-color:#5157b4">Text here</div>
<div style="border: 4px solid #5157b4">Text here</div>
#5157b4 Color on white background
This is how a font and box color of #5157b4 will look
on a white background.
#5157b4 Color on black background
This is how a font and box color of #5157b4 hex color will look
on a black background.