In RGB color space, #31398c hex color has a red value of 49, a green value of 57 and a blue value of 140.
In CMYK color space (used in color printing), #31398c hex color is composed of 65% cyan, 59.29% magenta, 0% yellow and 45.1% black.
#31398c color has a hue of 234.7 degrees, a saturation of 48.15% and a lightness of 37.1%.
#31398c hex color contains mainly BLUE.
The closest web safe color of #31398c is #333399
#31398c hex color has a decimal value of 3225996.
HEX | 31398c | #31398c |
---|---|---|
RGB | 49, 57, 140 | rgb(49, 57, 140) |
RGB Percent | 19.22, 22.35, 54.9 | rgb(19.22, 22.35, 54.9) |
CMYK | 65, 59, 0, 45 | |
HSL | 234.7°, 48.15, 37.1 | hsl(234.7, 48.15%, 37.1%) |
HSV | 234.7°, 65, 54.9 |
XYZ | 7.463, 5.473, 25.474 |
---|---|
Hunter Lab | 23.394, 16.003, -48.184 |
CIE-LAB | 28.042, 24.27, -47.303 |
CIE-LCH | 28.042, 53.166, 297.161 |
CIE-LUV | 65, 59.29, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #31398c
CMYK percent of color #31398c
Text with hexadecimal color #31398c
This text has a font color of #31398c
<p style="color:#31398c">Text here</p>
#31398c Background Color
This box has a background color of #31398c
<div style="background-color:#31398c">Text here</div>
#31398c Border Color
This box has a border color of #31398c
<div style="border: 4px solid #31398c">Text here</div>
CSS codes
<p style="color:#31398c">Text here</p>
<div style="background-color:#31398c">Text here</div>
<div style="border: 4px solid #31398c">Text here</div>
#31398c Color on white background
This is how a font and box color of #31398c will look
on a white background.
#31398c Color on black background
This is how a font and box color of #31398c hex color will look
on a black background.