In RGB color space, #311f8c hex color has a red value of 49, a green value of 31 and a blue value of 140.
In CMYK color space (used in color printing), #311f8c hex color is composed of 65% cyan, 77.86% magenta, 0% yellow and 45.1% black.
#311f8c color has a hue of 249.9 degrees, a saturation of 63.74% and a lightness of 33.5%.
#311f8c hex color contains mainly BLUE.
The closest web safe color of #311f8c is #333399
#311f8c hex color has a decimal value of 3219340.
HEX | 311f8c | #311f8c |
---|---|---|
RGB | 49, 31, 140 | rgb(49, 31, 140) |
RGB Percent | 19.22, 12.16, 54.9 | rgb(19.22, 12.16, 54.9) |
CMYK | 65, 78, 0, 45 | |
HSL | 249.9°, 63.74, 33.5 | hsl(249.9, 63.74%, 33.5%) |
HSV | 249.9°, 77.9, 54.9 |
XYZ | 6.49, 3.526, 25.15 |
---|---|
Hunter Lab | 18.778, 28.833, -66.266 |
CIE-LAB | 22.038, 40.407, -57.13 |
CIE-LCH | 22.038, 69.975, 305.271 |
CIE-LUV | 65, 77.86, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #311f8c
CMYK percent of color #311f8c
Text with hexadecimal color #311f8c
This text has a font color of #311f8c
<p style="color:#311f8c">Text here</p>
#311f8c Background Color
This box has a background color of #311f8c
<div style="background-color:#311f8c">Text here</div>
#311f8c Border Color
This box has a border color of #311f8c
<div style="border: 4px solid #311f8c">Text here</div>
CSS codes
<p style="color:#311f8c">Text here</p>
<div style="background-color:#311f8c">Text here</div>
<div style="border: 4px solid #311f8c">Text here</div>
#311f8c Color on white background
This is how a font and box color of #311f8c will look
on a white background.
#311f8c Color on black background
This is how a font and box color of #311f8c hex color will look
on a black background.