In RGB color space, #311f40 hex color has a red value of 49, a green value of 31 and a blue value of 64.
In CMYK color space (used in color printing), #311f40 hex color is composed of 23.44% cyan, 51.56% magenta, 0% yellow and 74.9% black.
#311f40 color has a hue of 272.7 degrees, a saturation of 34.74% and a lightness of 18.6%.
#311f40 hex color contains mainly BLUE.
The closest web safe color of #311f40 is #333333
#311f40 hex color has a decimal value of 3219264.
HEX | 311f40 | #311f40 |
---|---|---|
RGB | 49, 31, 64 | rgb(49, 31, 64) |
RGB Percent | 19.22, 12.16, 25.1 | rgb(19.22, 12.16, 25.1) |
CMYK | 23, 52, 0, 75 | |
HSL | 272.7°, 34.74, 18.6 | hsl(272.7, 34.74%, 18.6%) |
HSV | 272.7°, 51.6, 25.1 |
XYZ | 2.682, 2.003, 5.096 |
---|---|
Hunter Lab | 14.153, 9.059, -11.442 |
CIE-LAB | 15.503, 16.433, -17.76 |
CIE-LCH | 15.503, 24.196, 312.778 |
CIE-LUV | 23.44, 51.56, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #311f40
CMYK percent of color #311f40
Text with hexadecimal color #311f40
This text has a font color of #311f40
<p style="color:#311f40">Text here</p>
#311f40 Background Color
This box has a background color of #311f40
<div style="background-color:#311f40">Text here</div>
#311f40 Border Color
This box has a border color of #311f40
<div style="border: 4px solid #311f40">Text here</div>
CSS codes
<p style="color:#311f40">Text here</p>
<div style="background-color:#311f40">Text here</div>
<div style="border: 4px solid #311f40">Text here</div>
#311f40 Color on white background
This is how a font and box color of #311f40 will look
on a white background.
#311f40 Color on black background
This is how a font and box color of #311f40 hex color will look
on a black background.