In RGB color space, #31789d hex color has a red value of 49, a green value of 120 and a blue value of 157.
In CMYK color space (used in color printing), #31789d hex color is composed of 68.79% cyan, 23.57% magenta, 0% yellow and 38.43% black.
#31789d color has a hue of 200.6 degrees, a saturation of 52.43% and a lightness of 40.4%.
#31789d hex color contains mainly BLUE.
The closest web safe color of #31789d is #336699
#31789d hex color has a decimal value of 3242141.
HEX | 31789d | #31789d |
---|---|---|
RGB | 49, 120, 157 | rgb(49, 120, 157) |
RGB Percent | 19.22, 47.06, 61.57 | rgb(19.22, 47.06, 61.57) |
CMYK | 69, 24, 0, 38 | |
HSL | 200.6°, 52.43, 40.4 | hsl(200.6, 52.43%, 40.4%) |
HSV | 200.6°, 68.8, 61.6 |
XYZ | 14.069, 16.52, 34.346 |
---|---|
Hunter Lab | 40.645, -9.342, -21.65 |
CIE-LAB | 47.649, -9.86, -26.405 |
CIE-LCH | 47.649, 28.186, 249.524 |
CIE-LUV | 68.79, 23.57, 0, 38.43 |
Web Safe | 336699 |
RGB percent of color #31789d
CMYK percent of color #31789d
Text with hexadecimal color #31789d
This text has a font color of #31789d
<p style="color:#31789d">Text here</p>
#31789d Background Color
This box has a background color of #31789d
<div style="background-color:#31789d">Text here</div>
#31789d Border Color
This box has a border color of #31789d
<div style="border: 4px solid #31789d">Text here</div>
CSS codes
<p style="color:#31789d">Text here</p>
<div style="background-color:#31789d">Text here</div>
<div style="border: 4px solid #31789d">Text here</div>
#31789d Color on white background
This is how a font and box color of #31789d will look
on a white background.
#31789d Color on black background
This is how a font and box color of #31789d hex color will look
on a black background.