In RGB color space, #312e52 hex color has a red value of 49, a green value of 46 and a blue value of 82.
In CMYK color space (used in color printing), #312e52 hex color is composed of 40.24% cyan, 43.9% magenta, 0% yellow and 67.84% black.
#312e52 color has a hue of 245 degrees, a saturation of 28.13% and a lightness of 25.1%.
#312e52 hex color contains mainly BLUE.
The closest web safe color of #312e52 is #333366
#312e52 hex color has a decimal value of 3223122.
HEX | 312e52 | #312e52 |
---|---|---|
RGB | 49, 46, 82 | rgb(49, 46, 82) |
RGB Percent | 19.22, 18.04, 32.16 | rgb(19.22, 18.04, 32.16) |
CMYK | 40, 44, 0, 68 | |
HSL | 245°, 28.13, 25.1 | hsl(245, 28.13%, 25.1%) |
HSV | 245°, 43.9, 32.2 |
XYZ | 3.767, 3.216, 8.405 |
---|---|
Hunter Lab | 17.933, 6.112, -15.235 |
CIE-LAB | 20.889, 11.469, -21.556 |
CIE-LCH | 20.889, 24.417, 298.015 |
CIE-LUV | 40.24, 43.9, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #312e52
CMYK percent of color #312e52
Text with hexadecimal color #312e52
This text has a font color of #312e52
<p style="color:#312e52">Text here</p>
#312e52 Background Color
This box has a background color of #312e52
<div style="background-color:#312e52">Text here</div>
#312e52 Border Color
This box has a border color of #312e52
<div style="border: 4px solid #312e52">Text here</div>
CSS codes
<p style="color:#312e52">Text here</p>
<div style="background-color:#312e52">Text here</div>
<div style="border: 4px solid #312e52">Text here</div>
#312e52 Color on white background
This is how a font and box color of #312e52 will look
on a white background.
#312e52 Color on black background
This is how a font and box color of #312e52 hex color will look
on a black background.