In RGB color space, #31789c hex color has a red value of 49, a green value of 120 and a blue value of 156.
In CMYK color space (used in color printing), #31789c hex color is composed of 68.59% cyan, 23.08% magenta, 0% yellow and 38.82% black.
#31789c color has a hue of 200.2 degrees, a saturation of 52.2% and a lightness of 40.2%.
#31789c hex color contains mainly BLUE.
The closest web safe color of #31789c is #336699
#31789c hex color has a decimal value of 3242140.
HEX | 31789c | #31789c |
---|---|---|
RGB | 49, 120, 156 | rgb(49, 120, 156) |
RGB Percent | 19.22, 47.06, 61.18 | rgb(19.22, 47.06, 61.18) |
CMYK | 69, 23, 0, 39 | |
HSL | 200.2°, 52.2, 40.2 | hsl(200.2, 52.2%, 40.2%) |
HSV | 200.2°, 68.6, 61.2 |
XYZ | 13.984, 16.486, 33.898 |
---|---|
Hunter Lab | 40.603, -9.578, -21.077 |
CIE-LAB | 47.606, -10.205, -25.885 |
CIE-LCH | 47.606, 27.824, 248.483 |
CIE-LUV | 68.59, 23.08, 0, 38.82 |
Web Safe | 336699 |
RGB percent of color #31789c
CMYK percent of color #31789c
Text with hexadecimal color #31789c
This text has a font color of #31789c
<p style="color:#31789c">Text here</p>
#31789c Background Color
This box has a background color of #31789c
<div style="background-color:#31789c">Text here</div>
#31789c Border Color
This box has a border color of #31789c
<div style="border: 4px solid #31789c">Text here</div>
CSS codes
<p style="color:#31789c">Text here</p>
<div style="background-color:#31789c">Text here</div>
<div style="border: 4px solid #31789c">Text here</div>
#31789c Color on white background
This is how a font and box color of #31789c will look
on a white background.
#31789c Color on black background
This is how a font and box color of #31789c hex color will look
on a black background.