In RGB color space, #311b42 hex color has a red value of 49, a green value of 27 and a blue value of 66.
In CMYK color space (used in color printing), #311b42 hex color is composed of 25.76% cyan, 59.09% magenta, 0% yellow and 74.12% black.
#311b42 color has a hue of 273.8 degrees, a saturation of 41.94% and a lightness of 18.2%.
#311b42 hex color contains mainly BLUE.
The closest web safe color of #311b42 is #333333
#311b42 hex color has a decimal value of 3218242.
HEX | 311b42 | #311b42 |
---|---|---|
RGB | 49, 27, 66 | rgb(49, 27, 66) |
RGB Percent | 19.22, 10.59, 25.88 | rgb(19.22, 10.59, 25.88) |
CMYK | 26, 59, 0, 74 | |
HSL | 273.8°, 41.94, 18.2 | hsl(273.8, 41.94%, 18.2%) |
HSV | 273.8°, 59.1, 25.9 |
XYZ | 2.642, 1.83, 5.368 |
---|---|
Hunter Lab | 13.528, 11.188, -14.058 |
CIE-LAB | 14.569, 19.7, -20.631 |
CIE-LCH | 14.569, 28.526, 313.678 |
CIE-LUV | 25.76, 59.09, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #311b42
CMYK percent of color #311b42
Text with hexadecimal color #311b42
This text has a font color of #311b42
<p style="color:#311b42">Text here</p>
#311b42 Background Color
This box has a background color of #311b42
<div style="background-color:#311b42">Text here</div>
#311b42 Border Color
This box has a border color of #311b42
<div style="border: 4px solid #311b42">Text here</div>
CSS codes
<p style="color:#311b42">Text here</p>
<div style="background-color:#311b42">Text here</div>
<div style="border: 4px solid #311b42">Text here</div>
#311b42 Color on white background
This is how a font and box color of #311b42 will look
on a white background.
#311b42 Color on black background
This is how a font and box color of #311b42 hex color will look
on a black background.