In RGB color space, #31397b hex color has a red value of 49, a green value of 57 and a blue value of 123.
In CMYK color space (used in color printing), #31397b hex color is composed of 60.16% cyan, 53.66% magenta, 0% yellow and 51.76% black.
#31397b color has a hue of 233.5 degrees, a saturation of 43.02% and a lightness of 33.7%.
#31397b hex color contains mainly BLUE.
The closest web safe color of #31397b is #333366
#31397b hex color has a decimal value of 3225979.
HEX | 31397b | #31397b |
---|---|---|
RGB | 49, 57, 123 | rgb(49, 57, 123) |
RGB Percent | 19.22, 22.35, 48.24 | rgb(19.22, 22.35, 48.24) |
CMYK | 60, 54, 0, 52 | |
HSL | 233.5°, 43.02, 33.7 | hsl(233.5, 43.02%, 33.7%) |
HSV | 233.5°, 60.2, 48.2 |
XYZ | 6.305, 5.009, 19.373 |
---|---|
Hunter Lab | 22.381, 11.12, -35.655 |
CIE-LAB | 26.76, 18.092, -38.764 |
CIE-LCH | 26.76, 42.778, 295.019 |
CIE-LUV | 60.16, 53.66, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #31397b
CMYK percent of color #31397b
Text with hexadecimal color #31397b
This text has a font color of #31397b
<p style="color:#31397b">Text here</p>
#31397b Background Color
This box has a background color of #31397b
<div style="background-color:#31397b">Text here</div>
#31397b Border Color
This box has a border color of #31397b
<div style="border: 4px solid #31397b">Text here</div>
CSS codes
<p style="color:#31397b">Text here</p>
<div style="background-color:#31397b">Text here</div>
<div style="border: 4px solid #31397b">Text here</div>
#31397b Color on white background
This is how a font and box color of #31397b will look
on a white background.
#31397b Color on black background
This is how a font and box color of #31397b hex color will look
on a black background.