In RGB color space, #31318f hex color has a red value of 49, a green value of 49 and a blue value of 143.
In CMYK color space (used in color printing), #31318f hex color is composed of 65.73% cyan, 65.73% magenta, 0% yellow and 43.92% black.
#31318f color has a hue of 240 degrees, a saturation of 48.96% and a lightness of 37.6%.
#31318f hex color contains mainly BLUE.
The closest web safe color of #31318f is #333399
#31318f hex color has a decimal value of 3223951.
HEX | 31318f | #31318f |
---|---|---|
RGB | 49, 49, 143 | rgb(49, 49, 143) |
RGB Percent | 19.22, 19.22, 56.08 | rgb(19.22, 19.22, 56.08) |
CMYK | 66, 66, 0, 44 | |
HSL | 240°, 48.96, 37.6 | hsl(240, 48.96%, 37.6%) |
HSV | 240°, 65.7, 56.1 |
XYZ | 7.323, 4.833, 26.533 |
---|---|
Hunter Lab | 21.984, 20.987, -56.169 |
CIE-LAB | 26.254, 30.631, -52.071 |
CIE-LCH | 26.254, 60.412, 300.466 |
CIE-LUV | 65.73, 65.73, 0, 43.92 |
Web Safe | 333399 |
RGB percent of color #31318f
CMYK percent of color #31318f
Text with hexadecimal color #31318f
This text has a font color of #31318f
<p style="color:#31318f">Text here</p>
#31318f Background Color
This box has a background color of #31318f
<div style="background-color:#31318f">Text here</div>
#31318f Border Color
This box has a border color of #31318f
<div style="border: 4px solid #31318f">Text here</div>
CSS codes
<p style="color:#31318f">Text here</p>
<div style="background-color:#31318f">Text here</div>
<div style="border: 4px solid #31318f">Text here</div>
#31318f Color on white background
This is how a font and box color of #31318f will look
on a white background.
#31318f Color on black background
This is how a font and box color of #31318f hex color will look
on a black background.