In RGB color space, #311ed8 hex color has a red value of 49, a green value of 30 and a blue value of 216.
In CMYK color space (used in color printing), #311ed8 hex color is composed of 77.31% cyan, 86.11% magenta, 0% yellow and 15.29% black.
#311ed8 color has a hue of 246.1 degrees, a saturation of 75.61% and a lightness of 48.2%.
#311ed8 hex color contains mainly BLUE.
The closest web safe color of #311ed8 is #3333cc
#311ed8 hex color has a decimal value of 3219160.
HEX | 311ed8 | #311ed8 |
---|---|---|
RGB | 49, 30, 216 | rgb(49, 30, 216) |
RGB Percent | 19.22, 11.76, 84.71 | rgb(19.22, 11.76, 84.71) |
CMYK | 77, 86, 0, 15 | |
HSL | 246.1°, 75.61, 48.2 | hsl(246.1, 75.61%, 48.2%) |
HSV | 246.1°, 86.1, 84.7 |
XYZ | 14.126, 6.539, 65.483 |
---|---|
Hunter Lab | 25.571, 53.856, -133.929 |
CIE-LAB | 30.734, 63.411, -88.243 |
CIE-LCH | 30.734, 108.664, 305.701 |
CIE-LUV | 77.31, 86.11, 0, 15.29 |
Web Safe | 3333cc |
RGB percent of color #311ed8
CMYK percent of color #311ed8
Text with hexadecimal color #311ed8
This text has a font color of #311ed8
<p style="color:#311ed8">Text here</p>
#311ed8 Background Color
This box has a background color of #311ed8
<div style="background-color:#311ed8">Text here</div>
#311ed8 Border Color
This box has a border color of #311ed8
<div style="border: 4px solid #311ed8">Text here</div>
CSS codes
<p style="color:#311ed8">Text here</p>
<div style="background-color:#311ed8">Text here</div>
<div style="border: 4px solid #311ed8">Text here</div>
#311ed8 Color on white background
This is how a font and box color of #311ed8 will look
on a white background.
#311ed8 Color on black background
This is how a font and box color of #311ed8 hex color will look
on a black background.