In RGB color space, #31227b hex color has a red value of 49, a green value of 34 and a blue value of 123.
In CMYK color space (used in color printing), #31227b hex color is composed of 60.16% cyan, 72.36% magenta, 0% yellow and 51.76% black.
#31227b color has a hue of 250.1 degrees, a saturation of 56.69% and a lightness of 30.8%.
#31227b hex color contains mainly BLUE.
The closest web safe color of #31227b is #333366
#31227b hex color has a decimal value of 3220091.
HEX | 31227b | #31227b |
---|---|---|
RGB | 49, 34, 123 | rgb(49, 34, 123) |
RGB Percent | 19.22, 13.33, 48.24 | rgb(19.22, 13.33, 48.24) |
CMYK | 60, 72, 0, 52 | |
HSL | 250.1°, 56.69, 30.8 | hsl(250.1, 56.69%, 30.8%) |
HSV | 250.1°, 72.4, 48.2 |
XYZ | 5.414, 3.227, 19.076 |
---|---|
Hunter Lab | 17.964, 22.36, -50.386 |
CIE-LAB | 20.931, 33.196, -48.237 |
CIE-LCH | 20.931, 58.556, 304.535 |
CIE-LUV | 60.16, 72.36, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #31227b
CMYK percent of color #31227b
Text with hexadecimal color #31227b
This text has a font color of #31227b
<p style="color:#31227b">Text here</p>
#31227b Background Color
This box has a background color of #31227b
<div style="background-color:#31227b">Text here</div>
#31227b Border Color
This box has a border color of #31227b
<div style="border: 4px solid #31227b">Text here</div>
CSS codes
<p style="color:#31227b">Text here</p>
<div style="background-color:#31227b">Text here</div>
<div style="border: 4px solid #31227b">Text here</div>
#31227b Color on white background
This is how a font and box color of #31227b will look
on a white background.
#31227b Color on black background
This is how a font and box color of #31227b hex color will look
on a black background.