In RGB color space, #311c42 hex color has a red value of 49, a green value of 28 and a blue value of 66.
In CMYK color space (used in color printing), #311c42 hex color is composed of 25.76% cyan, 57.58% magenta, 0% yellow and 74.12% black.
#311c42 color has a hue of 273.2 degrees, a saturation of 40.43% and a lightness of 18.4%.
#311c42 hex color contains mainly BLUE.
The closest web safe color of #311c42 is #333333
#311c42 hex color has a decimal value of 3218498.
HEX | 311c42 | #311c42 |
---|---|---|
RGB | 49, 28, 66 | rgb(49, 28, 66) |
RGB Percent | 19.22, 10.98, 25.88 | rgb(19.22, 10.98, 25.88) |
CMYK | 26, 58, 0, 74 | |
HSL | 273.2°, 40.43, 18.4 | hsl(273.2, 40.43%, 18.4%) |
HSV | 273.2°, 57.6, 25.9 |
XYZ | 2.665, 1.877, 5.376 |
---|---|
Hunter Lab | 13.7, 10.746, -13.675 |
CIE-LAB | 14.828, 19.02, -20.22 |
CIE-LCH | 14.828, 27.76, 313.248 |
CIE-LUV | 25.76, 57.58, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #311c42
CMYK percent of color #311c42
Text with hexadecimal color #311c42
This text has a font color of #311c42
<p style="color:#311c42">Text here</p>
#311c42 Background Color
This box has a background color of #311c42
<div style="background-color:#311c42">Text here</div>
#311c42 Border Color
This box has a border color of #311c42
<div style="border: 4px solid #311c42">Text here</div>
CSS codes
<p style="color:#311c42">Text here</p>
<div style="background-color:#311c42">Text here</div>
<div style="border: 4px solid #311c42">Text here</div>
#311c42 Color on white background
This is how a font and box color of #311c42 will look
on a white background.
#311c42 Color on black background
This is how a font and box color of #311c42 hex color will look
on a black background.