In RGB color space, #51508b hex color has a red value of 81, a green value of 80 and a blue value of 139.
In CMYK color space (used in color printing), #51508b hex color is composed of 41.73% cyan, 42.45% magenta, 0% yellow and 45.49% black.
#51508b color has a hue of 241 degrees, a saturation of 26.94% and a lightness of 42.9%.
#51508b hex color contains mainly BLUE.
The closest web safe color of #51508b is #666699
#51508b hex color has a decimal value of 5329035.
HEX | 51508b | #51508b |
---|---|---|
RGB | 81, 80, 139 | rgb(81, 80, 139) |
RGB Percent | 31.76, 31.37, 54.51 | rgb(31.76, 31.37, 54.51) |
CMYK | 42, 42, 0, 45 | |
HSL | 241°, 26.94, 42.9 | hsl(241, 26.94%, 42.9%) |
HSV | 241°, 42.4, 54.5 |
XYZ | 10.922, 9.351, 25.655 |
---|---|
Hunter Lab | 30.579, 10.241, -28.337 |
CIE-LAB | 36.651, 16.139, -32.75 |
CIE-LCH | 36.651, 36.511, 296.234 |
CIE-LUV | 41.73, 42.45, 0, 45.49 |
Web Safe | 666699 |
RGB percent of color #51508b
CMYK percent of color #51508b
Text with hexadecimal color #51508b
This text has a font color of #51508b
<p style="color:#51508b">Text here</p>
#51508b Background Color
This box has a background color of #51508b
<div style="background-color:#51508b">Text here</div>
#51508b Border Color
This box has a border color of #51508b
<div style="border: 4px solid #51508b">Text here</div>
CSS codes
<p style="color:#51508b">Text here</p>
<div style="background-color:#51508b">Text here</div>
<div style="border: 4px solid #51508b">Text here</div>
#51508b Color on white background
This is how a font and box color of #51508b will look
on a white background.
#51508b Color on black background
This is how a font and box color of #51508b hex color will look
on a black background.