In RGB color space, #312e8b hex color has a red value of 49, a green value of 46 and a blue value of 139.
In CMYK color space (used in color printing), #312e8b hex color is composed of 64.75% cyan, 66.91% magenta, 0% yellow and 45.49% black.
#312e8b color has a hue of 241.9 degrees, a saturation of 50.27% and a lightness of 36.3%.
#312e8b hex color contains mainly BLUE.
The closest web safe color of #312e8b is #333399
#312e8b hex color has a decimal value of 3223179.
HEX | 312e8b | #312e8b |
---|---|---|
RGB | 49, 46, 139 | rgb(49, 46, 139) |
RGB Percent | 19.22, 18.04, 54.51 | rgb(19.22, 18.04, 54.51) |
CMYK | 65, 67, 0, 45 | |
HSL | 241.9°, 50.27, 36.3 | hsl(241.9, 50.27%, 36.3%) |
HSV | 241.9°, 66.9, 54.5 |
XYZ | 6.904, 4.471, 24.925 |
---|---|
Hunter Lab | 21.145, 21.279, -55.089 |
CIE-LAB | 25.171, 31.159, -51.361 |
CIE-LCH | 25.171, 60.074, 301.244 |
CIE-LUV | 64.75, 66.91, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #312e8b
CMYK percent of color #312e8b
Text with hexadecimal color #312e8b
This text has a font color of #312e8b
<p style="color:#312e8b">Text here</p>
#312e8b Background Color
This box has a background color of #312e8b
<div style="background-color:#312e8b">Text here</div>
#312e8b Border Color
This box has a border color of #312e8b
<div style="border: 4px solid #312e8b">Text here</div>
CSS codes
<p style="color:#312e8b">Text here</p>
<div style="background-color:#312e8b">Text here</div>
<div style="border: 4px solid #312e8b">Text here</div>
#312e8b Color on white background
This is how a font and box color of #312e8b will look
on a white background.
#312e8b Color on black background
This is how a font and box color of #312e8b hex color will look
on a black background.