In RGB color space, #31128b hex color has a red value of 49, a green value of 18 and a blue value of 139.
In CMYK color space (used in color printing), #31128b hex color is composed of 64.75% cyan, 87.05% magenta, 0% yellow and 45.49% black.
#31128b color has a hue of 255.4 degrees, a saturation of 77.07% and a lightness of 30.8%.
#31128b hex color contains mainly BLUE.
The closest web safe color of #31128b is #330099
#31128b hex color has a decimal value of 3216011.
HEX | 31128b | #31128b |
---|---|---|
RGB | 49, 18, 139 | rgb(49, 18, 139) |
RGB Percent | 19.22, 7.06, 54.51 | rgb(19.22, 7.06, 54.51) |
CMYK | 65, 87, 0, 45 | |
HSL | 255.4°, 77.07, 30.8 | hsl(255.4, 77.07%, 30.8%) |
HSV | 255.4°, 87.1, 54.5 |
XYZ | 6.143, 2.95, 24.672 |
---|---|
Hunter Lab | 17.176, 33.785, -73.145 |
CIE-LAB | 19.843, 46.162, -60.133 |
CIE-LCH | 19.843, 75.808, 307.512 |
CIE-LUV | 64.75, 87.05, 0, 45.49 |
Web Safe | 330099 |
RGB percent of color #31128b
CMYK percent of color #31128b
Text with hexadecimal color #31128b
This text has a font color of #31128b
<p style="color:#31128b">Text here</p>
#31128b Background Color
This box has a background color of #31128b
<div style="background-color:#31128b">Text here</div>
#31128b Border Color
This box has a border color of #31128b
<div style="border: 4px solid #31128b">Text here</div>
CSS codes
<p style="color:#31128b">Text here</p>
<div style="background-color:#31128b">Text here</div>
<div style="border: 4px solid #31128b">Text here</div>
#31128b Color on white background
This is how a font and box color of #31128b will look
on a white background.
#31128b Color on black background
This is how a font and box color of #31128b hex color will look
on a black background.