In RGB color space, #312852 hex color has a red value of 49, a green value of 40 and a blue value of 82.
In CMYK color space (used in color printing), #312852 hex color is composed of 40.24% cyan, 51.22% magenta, 0% yellow and 67.84% black.
#312852 color has a hue of 252.9 degrees, a saturation of 34.43% and a lightness of 23.9%.
#312852 hex color contains mainly BLUE.
The closest web safe color of #312852 is #333366
#312852 hex color has a decimal value of 3221586.
HEX | 312852 | #312852 |
---|---|---|
RGB | 49, 40, 82 | rgb(49, 40, 82) |
RGB Percent | 19.22, 15.69, 32.16 | rgb(19.22, 15.69, 32.16) |
CMYK | 40, 51, 0, 68 | |
HSL | 252.9°, 34.43, 23.9 | hsl(252.9, 34.43%, 23.9%) |
HSV | 252.9°, 51.2, 32.2 |
XYZ | 3.548, 2.78, 8.332 |
---|---|
Hunter Lab | 16.673, 8.806, -17.957 |
CIE-LAB | 19.14, 15.636, -24.323 |
CIE-LCH | 19.14, 28.915, 302.735 |
CIE-LUV | 40.24, 51.22, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #312852
CMYK percent of color #312852
Text with hexadecimal color #312852
This text has a font color of #312852
<p style="color:#312852">Text here</p>
#312852 Background Color
This box has a background color of #312852
<div style="background-color:#312852">Text here</div>
#312852 Border Color
This box has a border color of #312852
<div style="border: 4px solid #312852">Text here</div>
CSS codes
<p style="color:#312852">Text here</p>
<div style="background-color:#312852">Text here</div>
<div style="border: 4px solid #312852">Text here</div>
#312852 Color on white background
This is how a font and box color of #312852 will look
on a white background.
#312852 Color on black background
This is how a font and box color of #312852 hex color will look
on a black background.