In RGB color space, #311fb6 hex color has a red value of 49, a green value of 31 and a blue value of 182.
In CMYK color space (used in color printing), #311fb6 hex color is composed of 73.08% cyan, 82.97% magenta, 0% yellow and 28.63% black.
#311fb6 color has a hue of 247.2 degrees, a saturation of 70.89% and a lightness of 41.8%.
#311fb6 hex color contains mainly BLUE.
The closest web safe color of #311fb6 is #3333cc
#311fb6 hex color has a decimal value of 3219382.
HEX | 311fb6 | #311fb6 |
---|---|---|
RGB | 49, 31, 182 | rgb(49, 31, 182) |
RGB Percent | 19.22, 12.16, 71.37 | rgb(19.22, 12.16, 71.37) |
CMYK | 73, 83, 0, 29 | |
HSL | 247.2°, 70.89, 41.8 | hsl(247.2, 70.89%, 41.8%) |
HSV | 247.2°, 83, 71.4 |
XYZ | 10.2, 5.01, 44.685 |
---|---|
Hunter Lab | 22.383, 42.173, -102.697 |
CIE-LAB | 26.763, 53.282, -74.897 |
CIE-LCH | 26.763, 91.916, 305.428 |
CIE-LUV | 73.08, 82.97, 0, 28.63 |
Web Safe | 3333cc |
RGB percent of color #311fb6
CMYK percent of color #311fb6
Text with hexadecimal color #311fb6
This text has a font color of #311fb6
<p style="color:#311fb6">Text here</p>
#311fb6 Background Color
This box has a background color of #311fb6
<div style="background-color:#311fb6">Text here</div>
#311fb6 Border Color
This box has a border color of #311fb6
<div style="border: 4px solid #311fb6">Text here</div>
CSS codes
<p style="color:#311fb6">Text here</p>
<div style="background-color:#311fb6">Text here</div>
<div style="border: 4px solid #311fb6">Text here</div>
#311fb6 Color on white background
This is how a font and box color of #311fb6 will look
on a white background.
#311fb6 Color on black background
This is how a font and box color of #311fb6 hex color will look
on a black background.