In RGB color space, #311fa2 hex color has a red value of 49, a green value of 31 and a blue value of 162.
In CMYK color space (used in color printing), #311fa2 hex color is composed of 69.75% cyan, 80.86% magenta, 0% yellow and 36.47% black.
#311fa2 color has a hue of 248.2 degrees, a saturation of 67.88% and a lightness of 37.8%.
#311fa2 hex color contains mainly BLUE.
The closest web safe color of #311fa2 is #333399
#311fa2 hex color has a decimal value of 3219362.
HEX | 311fa2 | #311fa2 |
---|---|---|
RGB | 49, 31, 162 | rgb(49, 31, 162) |
RGB Percent | 19.22, 12.16, 63.53 | rgb(19.22, 12.16, 63.53) |
CMYK | 70, 81, 0, 36 | |
HSL | 248.2°, 67.88, 37.8 | hsl(248.2, 67.88%, 37.8%) |
HSV | 248.2°, 80.9, 63.5 |
XYZ | 8.278, 4.242, 34.565 |
---|---|
Hunter Lab | 20.596, 35.7, -85.085 |
CIE-LAB | 24.456, 47.253, -66.682 |
CIE-LCH | 24.456, 81.727, 305.323 |
CIE-LUV | 69.75, 80.86, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #311fa2
CMYK percent of color #311fa2
Text with hexadecimal color #311fa2
This text has a font color of #311fa2
<p style="color:#311fa2">Text here</p>
#311fa2 Background Color
This box has a background color of #311fa2
<div style="background-color:#311fa2">Text here</div>
#311fa2 Border Color
This box has a border color of #311fa2
<div style="border: 4px solid #311fa2">Text here</div>
CSS codes
<p style="color:#311fa2">Text here</p>
<div style="background-color:#311fa2">Text here</div>
<div style="border: 4px solid #311fa2">Text here</div>
#311fa2 Color on white background
This is how a font and box color of #311fa2 will look
on a white background.
#311fa2 Color on black background
This is how a font and box color of #311fa2 hex color will look
on a black background.