In RGB color space, #31397d hex color has a red value of 49, a green value of 57 and a blue value of 125.
In CMYK color space (used in color printing), #31397d hex color is composed of 60.8% cyan, 54.4% magenta, 0% yellow and 50.98% black.
#31397d color has a hue of 233.7 degrees, a saturation of 43.68% and a lightness of 34.1%.
#31397d hex color contains mainly BLUE.
The closest web safe color of #31397d is #333366
#31397d hex color has a decimal value of 3225981.
HEX | 31397d | #31397d |
---|---|---|
RGB | 49, 57, 125 | rgb(49, 57, 125) |
RGB Percent | 19.22, 22.35, 49.02 | rgb(19.22, 22.35, 49.02) |
CMYK | 61, 54, 0, 51 | |
HSL | 233.7°, 43.68, 34.1 | hsl(233.7, 43.68%, 34.1%) |
HSV | 233.7°, 60.8, 49 |
XYZ | 6.431, 5.06, 20.04 |
---|---|
Hunter Lab | 22.494, 11.667, -37.075 |
CIE-LAB | 26.905, 18.808, -39.791 |
CIE-LCH | 26.905, 44.012, 295.299 |
CIE-LUV | 60.8, 54.4, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #31397d
CMYK percent of color #31397d
Text with hexadecimal color #31397d
This text has a font color of #31397d
<p style="color:#31397d">Text here</p>
#31397d Background Color
This box has a background color of #31397d
<div style="background-color:#31397d">Text here</div>
#31397d Border Color
This box has a border color of #31397d
<div style="border: 4px solid #31397d">Text here</div>
CSS codes
<p style="color:#31397d">Text here</p>
<div style="background-color:#31397d">Text here</div>
<div style="border: 4px solid #31397d">Text here</div>
#31397d Color on white background
This is how a font and box color of #31397d will look
on a white background.
#31397d Color on black background
This is how a font and box color of #31397d hex color will look
on a black background.