In RGB color space, #31338c hex color has a red value of 49, a green value of 51 and a blue value of 140.
In CMYK color space (used in color printing), #31338c hex color is composed of 65% cyan, 63.57% magenta, 0% yellow and 45.1% black.
#31338c color has a hue of 238.7 degrees, a saturation of 48.15% and a lightness of 37.1%.
#31338c hex color contains mainly BLUE.
The closest web safe color of #31338c is #333399
#31338c hex color has a decimal value of 3224460.
HEX | 31338c | #31338c |
---|---|---|
RGB | 49, 51, 140 | rgb(49, 51, 140) |
RGB Percent | 19.22, 20, 54.9 | rgb(19.22, 20, 54.9) |
CMYK | 65, 64, 0, 45 | |
HSL | 238.7°, 48.15, 37.1 | hsl(238.7, 48.15%, 37.1%) |
HSV | 238.7°, 65, 54.9 |
XYZ | 7.184, 4.914, 25.381 |
---|---|
Hunter Lab | 22.168, 19.055, -52.368 |
CIE-LAB | 26.488, 28.264, -49.831 |
CIE-LCH | 26.488, 57.289, 299.562 |
CIE-LUV | 65, 63.57, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #31338c
CMYK percent of color #31338c
Text with hexadecimal color #31338c
This text has a font color of #31338c
<p style="color:#31338c">Text here</p>
#31338c Background Color
This box has a background color of #31338c
<div style="background-color:#31338c">Text here</div>
#31338c Border Color
This box has a border color of #31338c
<div style="border: 4px solid #31338c">Text here</div>
CSS codes
<p style="color:#31338c">Text here</p>
<div style="background-color:#31338c">Text here</div>
<div style="border: 4px solid #31338c">Text here</div>
#31338c Color on white background
This is how a font and box color of #31338c will look
on a white background.
#31338c Color on black background
This is how a font and box color of #31338c hex color will look
on a black background.