In RGB color space, #312ad1 hex color has a red value of 49, a green value of 42 and a blue value of 209.
In CMYK color space (used in color printing), #312ad1 hex color is composed of 76.56% cyan, 79.9% magenta, 0% yellow and 18.04% black.
#312ad1 color has a hue of 242.5 degrees, a saturation of 66.53% and a lightness of 49.2%.
#312ad1 hex color contains mainly BLUE.
The closest web safe color of #312ad1 is #3333cc
#312ad1 hex color has a decimal value of 3222225.
HEX | 312ad1 | #312ad1 |
---|---|---|
RGB | 49, 42, 209 | rgb(49, 42, 209) |
RGB Percent | 19.22, 16.47, 81.96 | rgb(19.22, 16.47, 81.96) |
CMYK | 77, 80, 0, 18 | |
HSL | 242.5°, 66.53, 49.2 | hsl(242.5, 66.53%, 49.2%) |
HSV | 242.5°, 79.9, 82 |
XYZ | 13.603, 6.912, 60.939 |
---|---|
Hunter Lab | 26.291, 46.349, -119.024 |
CIE-LAB | 31.606, 56.341, -82.741 |
CIE-LCH | 31.606, 100.102, 304.252 |
CIE-LUV | 76.56, 79.9, 0, 18.04 |
Web Safe | 3333cc |
RGB percent of color #312ad1
CMYK percent of color #312ad1
Text with hexadecimal color #312ad1
This text has a font color of #312ad1
<p style="color:#312ad1">Text here</p>
#312ad1 Background Color
This box has a background color of #312ad1
<div style="background-color:#312ad1">Text here</div>
#312ad1 Border Color
This box has a border color of #312ad1
<div style="border: 4px solid #312ad1">Text here</div>
CSS codes
<p style="color:#312ad1">Text here</p>
<div style="background-color:#312ad1">Text here</div>
<div style="border: 4px solid #312ad1">Text here</div>
#312ad1 Color on white background
This is how a font and box color of #312ad1 will look
on a white background.
#312ad1 Color on black background
This is how a font and box color of #312ad1 hex color will look
on a black background.