In RGB color space, #312e42 hex color has a red value of 49, a green value of 46 and a blue value of 66.
In CMYK color space (used in color printing), #312e42 hex color is composed of 25.76% cyan, 30.3% magenta, 0% yellow and 74.12% black.
#312e42 color has a hue of 249 degrees, a saturation of 17.86% and a lightness of 22%.
#312e42 hex color contains mainly BLUE.
The closest web safe color of #312e42 is #333333
#312e42 hex color has a decimal value of 3223106.
HEX | 312e42 | #312e42 |
---|---|---|
RGB | 49, 46, 66 | rgb(49, 46, 66) |
RGB Percent | 19.22, 18.04, 25.88 | rgb(19.22, 18.04, 25.88) |
CMYK | 26, 30, 0, 74 | |
HSL | 249°, 17.86, 22 | hsl(249, 17.86%, 22%) |
HSV | 249°, 30.3, 25.9 |
XYZ | 3.227, 3, 5.563 |
---|---|
Hunter Lab | 17.321, 2.946, -6.918 |
CIE-LAB | 20.044, 6.542, -12.068 |
CIE-LCH | 20.044, 13.727, 298.462 |
CIE-LUV | 25.76, 30.3, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #312e42
CMYK percent of color #312e42
Text with hexadecimal color #312e42
This text has a font color of #312e42
<p style="color:#312e42">Text here</p>
#312e42 Background Color
This box has a background color of #312e42
<div style="background-color:#312e42">Text here</div>
#312e42 Border Color
This box has a border color of #312e42
<div style="border: 4px solid #312e42">Text here</div>
CSS codes
<p style="color:#312e42">Text here</p>
<div style="background-color:#312e42">Text here</div>
<div style="border: 4px solid #312e42">Text here</div>
#312e42 Color on white background
This is how a font and box color of #312e42 will look
on a white background.
#312e42 Color on black background
This is how a font and box color of #312e42 hex color will look
on a black background.