In RGB color space, #31228b hex color has a red value of 49, a green value of 34 and a blue value of 139.
In CMYK color space (used in color printing), #31228b hex color is composed of 64.75% cyan, 75.54% magenta, 0% yellow and 45.49% black.
#31228b color has a hue of 248.6 degrees, a saturation of 60.69% and a lightness of 33.9%.
#31228b hex color contains mainly BLUE.
The closest web safe color of #31228b is #333399
#31228b hex color has a decimal value of 3220107.
HEX | 31228b | #31228b |
---|---|---|
RGB | 49, 34, 139 | rgb(49, 34, 139) |
RGB Percent | 19.22, 13.33, 54.51 | rgb(19.22, 13.33, 54.51) |
CMYK | 65, 76, 0, 45 | |
HSL | 248.6°, 60.69, 33.9 | hsl(248.6, 60.69%, 33.9%) |
HSV | 248.6°, 75.5, 54.5 |
XYZ | 6.499, 3.661, 24.79 |
---|---|
Hunter Lab | 19.134, 27.146, -63.424 |
CIE-LAB | 22.517, 38.435, -55.715 |
CIE-LCH | 22.517, 67.686, 304.6 |
CIE-LUV | 64.75, 75.54, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #31228b
CMYK percent of color #31228b
Text with hexadecimal color #31228b
This text has a font color of #31228b
<p style="color:#31228b">Text here</p>
#31228b Background Color
This box has a background color of #31228b
<div style="background-color:#31228b">Text here</div>
#31228b Border Color
This box has a border color of #31228b
<div style="border: 4px solid #31228b">Text here</div>
CSS codes
<p style="color:#31228b">Text here</p>
<div style="background-color:#31228b">Text here</div>
<div style="border: 4px solid #31228b">Text here</div>
#31228b Color on white background
This is how a font and box color of #31228b will look
on a white background.
#31228b Color on black background
This is how a font and box color of #31228b hex color will look
on a black background.