In RGB color space, #31218f hex color has a red value of 49, a green value of 33 and a blue value of 143.
In CMYK color space (used in color printing), #31218f hex color is composed of 65.73% cyan, 76.92% magenta, 0% yellow and 43.92% black.
#31218f color has a hue of 248.7 degrees, a saturation of 62.5% and a lightness of 34.5%.
#31218f hex color contains mainly BLUE.
The closest web safe color of #31218f is #333399
#31218f hex color has a decimal value of 3219855.
HEX | 31218f | #31218f |
---|---|---|
RGB | 49, 33, 143 | rgb(49, 33, 143) |
RGB Percent | 19.22, 12.94, 56.08 | rgb(19.22, 12.94, 56.08) |
CMYK | 66, 77, 0, 44 | |
HSL | 248.7°, 62.5, 34.5 | hsl(248.7, 62.5%, 34.5%) |
HSV | 248.7°, 76.9, 56.1 |
XYZ | 6.768, 3.724, 26.349 |
---|---|
Hunter Lab | 19.298, 28.832, -67.446 |
CIE-LAB | 22.737, 40.271, -57.844 |
CIE-LCH | 22.737, 70.482, 304.846 |
CIE-LUV | 65.73, 76.92, 0, 43.92 |
Web Safe | 333399 |
RGB percent of color #31218f
CMYK percent of color #31218f
Text with hexadecimal color #31218f
This text has a font color of #31218f
<p style="color:#31218f">Text here</p>
#31218f Background Color
This box has a background color of #31218f
<div style="background-color:#31218f">Text here</div>
#31218f Border Color
This box has a border color of #31218f
<div style="border: 4px solid #31218f">Text here</div>
CSS codes
<p style="color:#31218f">Text here</p>
<div style="background-color:#31218f">Text here</div>
<div style="border: 4px solid #31218f">Text here</div>
#31218f Color on white background
This is how a font and box color of #31218f will look
on a white background.
#31218f Color on black background
This is how a font and box color of #31218f hex color will look
on a black background.