In RGB color space, #311ca8 hex color has a red value of 49, a green value of 28 and a blue value of 168.
In CMYK color space (used in color printing), #311ca8 hex color is composed of 70.83% cyan, 83.33% magenta, 0% yellow and 34.12% black.
#311ca8 color has a hue of 249 degrees, a saturation of 71.43% and a lightness of 38.4%.
#311ca8 hex color contains mainly BLUE.
The closest web safe color of #311ca8 is #333399
#311ca8 hex color has a decimal value of 3218600.
HEX | 311ca8 | #311ca8 |
---|---|---|
RGB | 49, 28, 168 | rgb(49, 28, 168) |
RGB Percent | 19.22, 10.98, 65.88 | rgb(19.22, 10.98, 65.88) |
CMYK | 71, 83, 0, 34 | |
HSL | 249°, 71.43, 38.4 | hsl(249, 71.43%, 38.4%) |
HSV | 249°, 83.3, 65.9 |
XYZ | 8.75, 4.311, 37.417 |
---|---|
Hunter Lab | 20.763, 38.889, -92.313 |
CIE-LAB | 24.674, 50.448, -69.96 |
CIE-LCH | 24.674, 86.252, 305.795 |
CIE-LUV | 70.83, 83.33, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #311ca8
CMYK percent of color #311ca8
Text with hexadecimal color #311ca8
This text has a font color of #311ca8
<p style="color:#311ca8">Text here</p>
#311ca8 Background Color
This box has a background color of #311ca8
<div style="background-color:#311ca8">Text here</div>
#311ca8 Border Color
This box has a border color of #311ca8
<div style="border: 4px solid #311ca8">Text here</div>
CSS codes
<p style="color:#311ca8">Text here</p>
<div style="background-color:#311ca8">Text here</div>
<div style="border: 4px solid #311ca8">Text here</div>
#311ca8 Color on white background
This is how a font and box color of #311ca8 will look
on a white background.
#311ca8 Color on black background
This is how a font and box color of #311ca8 hex color will look
on a black background.