In RGB color space, #311d42 hex color has a red value of 49, a green value of 29 and a blue value of 66.
In CMYK color space (used in color printing), #311d42 hex color is composed of 25.76% cyan, 56.06% magenta, 0% yellow and 74.12% black.
#311d42 color has a hue of 272.4 degrees, a saturation of 38.95% and a lightness of 18.6%.
#311d42 hex color contains mainly BLUE.
The closest web safe color of #311d42 is #333333
#311d42 hex color has a decimal value of 3218754.
HEX | 311d42 | #311d42 |
---|---|---|
RGB | 49, 29, 66 | rgb(49, 29, 66) |
RGB Percent | 19.22, 11.37, 25.88 | rgb(19.22, 11.37, 25.88) |
CMYK | 26, 56, 0, 74 | |
HSL | 272.4°, 38.95, 18.6 | hsl(272.4, 38.95%, 18.6%) |
HSV | 272.4°, 56.1, 25.9 |
XYZ | 2.689, 1.925, 5.384 |
---|---|
Hunter Lab | 13.874, 10.315, -13.295 |
CIE-LAB | 15.089, 18.351, -19.807 |
CIE-LCH | 15.089, 27.001, 312.815 |
CIE-LUV | 25.76, 56.06, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #311d42
CMYK percent of color #311d42
Text with hexadecimal color #311d42
This text has a font color of #311d42
<p style="color:#311d42">Text here</p>
#311d42 Background Color
This box has a background color of #311d42
<div style="background-color:#311d42">Text here</div>
#311d42 Border Color
This box has a border color of #311d42
<div style="border: 4px solid #311d42">Text here</div>
CSS codes
<p style="color:#311d42">Text here</p>
<div style="background-color:#311d42">Text here</div>
<div style="border: 4px solid #311d42">Text here</div>
#311d42 Color on white background
This is how a font and box color of #311d42 will look
on a white background.
#311d42 Color on black background
This is how a font and box color of #311d42 hex color will look
on a black background.