In RGB color space, #311786 hex color has a red value of 49, a green value of 23 and a blue value of 134.
In CMYK color space (used in color printing), #311786 hex color is composed of 63.43% cyan, 82.84% magenta, 0% yellow and 47.45% black.
#311786 color has a hue of 254.1 degrees, a saturation of 70.7% and a lightness of 30.8%.
#311786 hex color contains mainly BLUE.
The closest web safe color of #311786 is #330099
#311786 hex color has a decimal value of 3217286.
HEX | 311786 | #311786 |
---|---|---|
RGB | 49, 23, 134 | rgb(49, 23, 134) |
RGB Percent | 19.22, 9.02, 52.55 | rgb(19.22, 9.02, 52.55) |
CMYK | 63, 83, 0, 47 | |
HSL | 254.1°, 70.7, 30.8 | hsl(254.1, 70.7%, 30.8%) |
HSV | 254.1°, 82.8, 52.5 |
XYZ | 5.876, 2.987, 22.821 |
---|---|
Hunter Lab | 17.283, 30.443, -66.191 |
CIE-LAB | 19.992, 42.568, -56.747 |
CIE-LCH | 19.992, 70.938, 306.875 |
CIE-LUV | 63.43, 82.84, 0, 47.45 |
Web Safe | 330099 |
RGB percent of color #311786
CMYK percent of color #311786
Text with hexadecimal color #311786
This text has a font color of #311786
<p style="color:#311786">Text here</p>
#311786 Background Color
This box has a background color of #311786
<div style="background-color:#311786">Text here</div>
#311786 Border Color
This box has a border color of #311786
<div style="border: 4px solid #311786">Text here</div>
CSS codes
<p style="color:#311786">Text here</p>
<div style="background-color:#311786">Text here</div>
<div style="border: 4px solid #311786">Text here</div>
#311786 Color on white background
This is how a font and box color of #311786 will look
on a white background.
#311786 Color on black background
This is how a font and box color of #311786 hex color will look
on a black background.