In RGB color space, #311fa6 hex color has a red value of 49, a green value of 31 and a blue value of 166.
In CMYK color space (used in color printing), #311fa6 hex color is composed of 70.48% cyan, 81.33% magenta, 0% yellow and 34.9% black.
#311fa6 color has a hue of 248 degrees, a saturation of 68.53% and a lightness of 38.6%.
#311fa6 hex color contains mainly BLUE.
The closest web safe color of #311fa6 is #333399
#311fa6 hex color has a decimal value of 3219366.
HEX | 311fa6 | #311fa6 |
---|---|---|
RGB | 49, 31, 166 | rgb(49, 31, 166) |
RGB Percent | 19.22, 12.16, 65.1 | rgb(19.22, 12.16, 65.1) |
CMYK | 70, 81, 0, 35 | |
HSL | 248°, 68.53, 38.6 | hsl(248, 68.53%, 38.6%) |
HSV | 248°, 81.3, 65.1 |
XYZ | 8.64, 4.386, 36.468 |
---|---|
Hunter Lab | 20.943, 36.991, -88.583 |
CIE-LAB | 24.909, 48.487, -68.361 |
CIE-LCH | 24.909, 83.811, 305.347 |
CIE-LUV | 70.48, 81.33, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #311fa6
CMYK percent of color #311fa6
Text with hexadecimal color #311fa6
This text has a font color of #311fa6
<p style="color:#311fa6">Text here</p>
#311fa6 Background Color
This box has a background color of #311fa6
<div style="background-color:#311fa6">Text here</div>
#311fa6 Border Color
This box has a border color of #311fa6
<div style="border: 4px solid #311fa6">Text here</div>
CSS codes
<p style="color:#311fa6">Text here</p>
<div style="background-color:#311fa6">Text here</div>
<div style="border: 4px solid #311fa6">Text here</div>
#311fa6 Color on white background
This is how a font and box color of #311fa6 will look
on a white background.
#311fa6 Color on black background
This is how a font and box color of #311fa6 hex color will look
on a black background.