In RGB color space, #5159b5 hex color has a red value of 81, a green value of 89 and a blue value of 181.
In CMYK color space (used in color printing), #5159b5 hex color is composed of 55.25% cyan, 50.83% magenta, 0% yellow and 29.02% black.
#5159b5 color has a hue of 235.2 degrees, a saturation of 40.32% and a lightness of 51.4%.
#5159b5 hex color contains mainly BLUE.
The closest web safe color of #5159b5 is #6666cc
#5159b5 hex color has a decimal value of 5331381.
HEX | 5159b5 | #5159b5 |
---|---|---|
RGB | 81, 89, 181 | rgb(81, 89, 181) |
RGB Percent | 31.76, 34.9, 70.98 | rgb(31.76, 34.9, 70.98) |
CMYK | 55, 51, 0, 29 | |
HSL | 235.2°, 40.32, 51.4 | hsl(235.2, 40.32%, 51.4%) |
HSV | 235.2°, 55.2, 71 |
XYZ | 15.306, 12.23, 45.27 |
---|---|
Hunter Lab | 34.971, 16.924, -52.27 |
CIE-LAB | 41.579, 23.84, -49.998 |
CIE-LCH | 41.579, 55.391, 295.493 |
CIE-LUV | 55.25, 50.83, 0, 29.02 |
Web Safe | 6666cc |
RGB percent of color #5159b5
CMYK percent of color #5159b5
Text with hexadecimal color #5159b5
This text has a font color of #5159b5
<p style="color:#5159b5">Text here</p>
#5159b5 Background Color
This box has a background color of #5159b5
<div style="background-color:#5159b5">Text here</div>
#5159b5 Border Color
This box has a border color of #5159b5
<div style="border: 4px solid #5159b5">Text here</div>
CSS codes
<p style="color:#5159b5">Text here</p>
<div style="background-color:#5159b5">Text here</div>
<div style="border: 4px solid #5159b5">Text here</div>
#5159b5 Color on white background
This is how a font and box color of #5159b5 will look
on a white background.
#5159b5 Color on black background
This is how a font and box color of #5159b5 hex color will look
on a black background.