In RGB color space, #31508b hex color has a red value of 49, a green value of 80 and a blue value of 139.
In CMYK color space (used in color printing), #31508b hex color is composed of 64.75% cyan, 42.45% magenta, 0% yellow and 45.49% black.
#31508b color has a hue of 219.3 degrees, a saturation of 47.87% and a lightness of 36.9%.
#31508b hex color contains mainly BLUE.
The closest web safe color of #31508b is #336699
#31508b hex color has a decimal value of 3231883.
HEX | 31508b | #31508b |
---|---|---|
RGB | 49, 80, 139 | rgb(49, 80, 139) |
RGB Percent | 19.22, 31.37, 54.51 | rgb(19.22, 31.37, 54.51) |
CMYK | 65, 42, 0, 45 | |
HSL | 219.3°, 47.87, 36.9 | hsl(219.3, 47.87%, 36.9%) |
HSV | 219.3°, 64.7, 54.5 |
XYZ | 8.795, 8.254, 25.556 |
---|---|
Hunter Lab | 28.73, 4.367, -32.629 |
CIE-LAB | 34.506, 8.453, -36.289 |
CIE-LCH | 34.506, 37.26, 283.112 |
CIE-LUV | 64.75, 42.45, 0, 45.49 |
Web Safe | 336699 |
RGB percent of color #31508b
CMYK percent of color #31508b
Text with hexadecimal color #31508b
This text has a font color of #31508b
<p style="color:#31508b">Text here</p>
#31508b Background Color
This box has a background color of #31508b
<div style="background-color:#31508b">Text here</div>
#31508b Border Color
This box has a border color of #31508b
<div style="border: 4px solid #31508b">Text here</div>
CSS codes
<p style="color:#31508b">Text here</p>
<div style="background-color:#31508b">Text here</div>
<div style="border: 4px solid #31508b">Text here</div>
#31508b Color on white background
This is how a font and box color of #31508b will look
on a white background.
#31508b Color on black background
This is how a font and box color of #31508b hex color will look
on a black background.