In RGB color space, #312d8b hex color has a red value of 49, a green value of 45 and a blue value of 139.
In CMYK color space (used in color printing), #312d8b hex color is composed of 64.75% cyan, 67.63% magenta, 0% yellow and 45.49% black.
#312d8b color has a hue of 242.6 degrees, a saturation of 51.09% and a lightness of 36.1%.
#312d8b hex color contains mainly BLUE.
The closest web safe color of #312d8b is #333399
#312d8b hex color has a decimal value of 3222923.
HEX | 312d8b | #312d8b |
---|---|---|
RGB | 49, 45, 139 | rgb(49, 45, 139) |
RGB Percent | 19.22, 17.65, 54.51 | rgb(19.22, 17.65, 54.51) |
CMYK | 65, 68, 0, 45 | |
HSL | 242.6°, 51.09, 36.1 | hsl(242.6, 51.09%, 36.1%) |
HSV | 242.6°, 67.6, 54.5 |
XYZ | 6.865, 4.394, 24.912 |
---|---|
Hunter Lab | 20.962, 21.775, -55.79 |
CIE-LAB | 24.933, 31.79, -51.749 |
CIE-LCH | 24.933, 60.734, 301.563 |
CIE-LUV | 64.75, 67.63, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #312d8b
CMYK percent of color #312d8b
Text with hexadecimal color #312d8b
This text has a font color of #312d8b
<p style="color:#312d8b">Text here</p>
#312d8b Background Color
This box has a background color of #312d8b
<div style="background-color:#312d8b">Text here</div>
#312d8b Border Color
This box has a border color of #312d8b
<div style="border: 4px solid #312d8b">Text here</div>
CSS codes
<p style="color:#312d8b">Text here</p>
<div style="background-color:#312d8b">Text here</div>
<div style="border: 4px solid #312d8b">Text here</div>
#312d8b Color on white background
This is how a font and box color of #312d8b will look
on a white background.
#312d8b Color on black background
This is how a font and box color of #312d8b hex color will look
on a black background.