In RGB color space, #31138b hex color has a red value of 49, a green value of 19 and a blue value of 139.
In CMYK color space (used in color printing), #31138b hex color is composed of 64.75% cyan, 86.33% magenta, 0% yellow and 45.49% black.
#31138b color has a hue of 255 degrees, a saturation of 75.95% and a lightness of 31%.
#31138b hex color contains mainly BLUE.
The closest web safe color of #31138b is #330099
#31138b hex color has a decimal value of 3216267.
HEX | 31138b | #31138b |
---|---|---|
RGB | 49, 19, 139 | rgb(49, 19, 139) |
RGB Percent | 19.22, 7.45, 54.51 | rgb(19.22, 7.45, 54.51) |
CMYK | 65, 86, 0, 45 | |
HSL | 255°, 75.95, 31 | hsl(255, 75.95%, 31%) |
HSV | 255°, 86.3, 54.5 |
XYZ | 6.16, 2.983, 24.677 |
---|---|
Hunter Lab | 17.271, 33.439, -72.622 |
CIE-LAB | 19.976, 45.773, -59.911 |
CIE-LCH | 19.976, 75.396, 307.38 |
CIE-LUV | 64.75, 86.33, 0, 45.49 |
Web Safe | 330099 |
RGB percent of color #31138b
CMYK percent of color #31138b
Text with hexadecimal color #31138b
This text has a font color of #31138b
<p style="color:#31138b">Text here</p>
#31138b Background Color
This box has a background color of #31138b
<div style="background-color:#31138b">Text here</div>
#31138b Border Color
This box has a border color of #31138b
<div style="border: 4px solid #31138b">Text here</div>
CSS codes
<p style="color:#31138b">Text here</p>
<div style="background-color:#31138b">Text here</div>
<div style="border: 4px solid #31138b">Text here</div>
#31138b Color on white background
This is how a font and box color of #31138b will look
on a white background.
#31138b Color on black background
This is how a font and box color of #31138b hex color will look
on a black background.