In RGB color space, #31004f hex color has a red value of 49, a green value of 0 and a blue value of 79.
In CMYK color space (used in color printing), #31004f hex color is composed of 37.97% cyan, 100% magenta, 0% yellow and 69.02% black.
#31004f color has a hue of 277.2 degrees, a saturation of 100% and a lightness of 15.5%.
#31004f hex color contains mainly BLUE.
The closest web safe color of #31004f is #330066
#31004f hex color has a decimal value of 3211343.
HEX | 31004f | #31004f |
---|---|---|
RGB | 49, 0, 79 | rgb(49, 0, 79) |
RGB Percent | 19.22, 0, 30.98 | rgb(19.22, 0, 30.98) |
CMYK | 38, 100, 0, 69 | |
HSL | 277.2°, 100, 15.5 | hsl(277.2, 100%, 15.5%) |
HSV | 277.2°, 100, 31 |
XYZ | 2.678, 1.217, 7.491 |
---|---|
Hunter Lab | 11.032, 24.026, -32.538 |
CIE-LAB | 10.682, 37.137, -35.948 |
CIE-LCH | 10.682, 51.686, 315.932 |
CIE-LUV | 37.97, 100, 0, 69.02 |
Web Safe | 330066 |
RGB percent of color #31004f
CMYK percent of color #31004f
Text with hexadecimal color #31004f
This text has a font color of #31004f
<p style="color:#31004f">Text here</p>
#31004f Background Color
This box has a background color of #31004f
<div style="background-color:#31004f">Text here</div>
#31004f Border Color
This box has a border color of #31004f
<div style="border: 4px solid #31004f">Text here</div>
CSS codes
<p style="color:#31004f">Text here</p>
<div style="background-color:#31004f">Text here</div>
<div style="border: 4px solid #31004f">Text here</div>
#31004f Color on white background
This is how a font and box color of #31004f will look
on a white background.
#31004f Color on black background
This is how a font and box color of #31004f hex color will look
on a black background.