In RGB color space, #31318b hex color has a red value of 49, a green value of 49 and a blue value of 139.
In CMYK color space (used in color printing), #31318b hex color is composed of 64.75% cyan, 64.75% magenta, 0% yellow and 45.49% black.
#31318b color has a hue of 240 degrees, a saturation of 47.87% and a lightness of 36.9%.
#31318b hex color contains mainly BLUE.
The closest web safe color of #31318b is #333399
#31318b hex color has a decimal value of 3223947.
HEX | 31318b | #31318b |
---|---|---|
RGB | 49, 49, 139 | rgb(49, 49, 139) |
RGB Percent | 19.22, 19.22, 54.51 | rgb(19.22, 19.22, 54.51) |
CMYK | 65, 65, 0, 45 | |
HSL | 240°, 47.87, 36.9 | hsl(240, 47.87%, 36.9%) |
HSV | 240°, 64.7, 54.5 |
XYZ | 7.025, 4.714, 24.966 |
---|---|
Hunter Lab | 21.712, 19.759, -52.978 |
CIE-LAB | 25.904, 29.212, -50.165 |
CIE-LCH | 25.904, 58.051, 300.213 |
CIE-LUV | 64.75, 64.75, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #31318b
CMYK percent of color #31318b
Text with hexadecimal color #31318b
This text has a font color of #31318b
<p style="color:#31318b">Text here</p>
#31318b Background Color
This box has a background color of #31318b
<div style="background-color:#31318b">Text here</div>
#31318b Border Color
This box has a border color of #31318b
<div style="border: 4px solid #31318b">Text here</div>
CSS codes
<p style="color:#31318b">Text here</p>
<div style="background-color:#31318b">Text here</div>
<div style="border: 4px solid #31318b">Text here</div>
#31318b Color on white background
This is how a font and box color of #31318b will look
on a white background.
#31318b Color on black background
This is how a font and box color of #31318b hex color will look
on a black background.