In RGB color space, #31004e hex color has a red value of 49, a green value of 0 and a blue value of 78.
In CMYK color space (used in color printing), #31004e hex color is composed of 37.18% cyan, 100% magenta, 0% yellow and 69.41% black.
#31004e color has a hue of 277.7 degrees, a saturation of 100% and a lightness of 15.3%.
#31004e hex color contains mainly BLUE.
The closest web safe color of #31004e is #330066
#31004e hex color has a decimal value of 3211342.
HEX | 31004e | #31004e |
---|---|---|
RGB | 49, 0, 78 | rgb(49, 0, 78) |
RGB Percent | 19.22, 0, 30.59 | rgb(19.22, 0, 30.59) |
CMYK | 37, 100, 0, 69 | |
HSL | 277.7°, 100, 15.3 | hsl(277.7, 100%, 15.3%) |
HSV | 277.7°, 100, 30.6 |
XYZ | 2.642, 1.203, 7.301 |
---|---|
Hunter Lab | 10.968, 23.803, -31.789 |
CIE-LAB | 10.579, 36.894, -35.426 |
CIE-LCH | 10.579, 51.148, 316.163 |
CIE-LUV | 37.18, 100, 0, 69.41 |
Web Safe | 330066 |
RGB percent of color #31004e
CMYK percent of color #31004e
Text with hexadecimal color #31004e
This text has a font color of #31004e
<p style="color:#31004e">Text here</p>
#31004e Background Color
This box has a background color of #31004e
<div style="background-color:#31004e">Text here</div>
#31004e Border Color
This box has a border color of #31004e
<div style="border: 4px solid #31004e">Text here</div>
CSS codes
<p style="color:#31004e">Text here</p>
<div style="background-color:#31004e">Text here</div>
<div style="border: 4px solid #31004e">Text here</div>
#31004e Color on white background
This is how a font and box color of #31004e will look
on a white background.
#31004e Color on black background
This is how a font and box color of #31004e hex color will look
on a black background.