In RGB color space, #31187c hex color has a red value of 49, a green value of 24 and a blue value of 124.
In CMYK color space (used in color printing), #31187c hex color is composed of 60.48% cyan, 80.65% magenta, 0% yellow and 51.37% black.
#31187c color has a hue of 255 degrees, a saturation of 67.57% and a lightness of 29%.
#31187c hex color contains mainly BLUE.
The closest web safe color of #31187c is #330066
#31187c hex color has a decimal value of 3217532.
HEX | 31187c | #31187c |
---|---|---|
RGB | 49, 24, 124 | rgb(49, 24, 124) |
RGB Percent | 19.22, 9.41, 48.63 | rgb(19.22, 9.41, 48.63) |
CMYK | 60, 81, 0, 51 | |
HSL | 255°, 67.57, 29 | hsl(255, 67.57%, 29%) |
HSV | 255°, 80.6, 48.6 |
XYZ | 5.231, 2.761, 19.326 |
---|---|
Hunter Lab | 16.616, 27.116, -57.328 |
CIE-LAB | 19.06, 39.068, -51.949 |
CIE-LCH | 19.06, 65, 306.945 |
CIE-LUV | 60.48, 80.65, 0, 51.37 |
Web Safe | 330066 |
RGB percent of color #31187c
CMYK percent of color #31187c
Text with hexadecimal color #31187c
This text has a font color of #31187c
<p style="color:#31187c">Text here</p>
#31187c Background Color
This box has a background color of #31187c
<div style="background-color:#31187c">Text here</div>
#31187c Border Color
This box has a border color of #31187c
<div style="border: 4px solid #31187c">Text here</div>
CSS codes
<p style="color:#31187c">Text here</p>
<div style="background-color:#31187c">Text here</div>
<div style="border: 4px solid #31187c">Text here</div>
#31187c Color on white background
This is how a font and box color of #31187c will look
on a white background.
#31187c Color on black background
This is how a font and box color of #31187c hex color will look
on a black background.