In RGB color space, #312ad2 hex color has a red value of 49, a green value of 42 and a blue value of 210.
In CMYK color space (used in color printing), #312ad2 hex color is composed of 76.67% cyan, 80% magenta, 0% yellow and 17.65% black.
#312ad2 color has a hue of 242.5 degrees, a saturation of 66.67% and a lightness of 49.4%.
#312ad2 hex color contains mainly BLUE.
The closest web safe color of #312ad2 is #3333cc
#312ad2 hex color has a decimal value of 3222226.
HEX | 312ad2 | #312ad2 |
---|---|---|
RGB | 49, 42, 210 | rgb(49, 42, 210) |
RGB Percent | 19.22, 16.47, 82.35 | rgb(19.22, 16.47, 82.35) |
CMYK | 77, 80, 0, 18 | |
HSL | 242.5°, 66.67, 49.4 | hsl(242.5, 66.67%, 49.4%) |
HSV | 242.5°, 80, 82.4 |
XYZ | 13.727, 6.962, 61.593 |
---|---|
Hunter Lab | 26.386, 46.689, -119.933 |
CIE-LAB | 31.72, 56.64, -83.131 |
CIE-LCH | 31.72, 100.593, 304.268 |
CIE-LUV | 76.67, 80, 0, 17.65 |
Web Safe | 3333cc |
RGB percent of color #312ad2
CMYK percent of color #312ad2
Text with hexadecimal color #312ad2
This text has a font color of #312ad2
<p style="color:#312ad2">Text here</p>
#312ad2 Background Color
This box has a background color of #312ad2
<div style="background-color:#312ad2">Text here</div>
#312ad2 Border Color
This box has a border color of #312ad2
<div style="border: 4px solid #312ad2">Text here</div>
CSS codes
<p style="color:#312ad2">Text here</p>
<div style="background-color:#312ad2">Text here</div>
<div style="border: 4px solid #312ad2">Text here</div>
#312ad2 Color on white background
This is how a font and box color of #312ad2 will look
on a white background.
#312ad2 Color on black background
This is how a font and box color of #312ad2 hex color will look
on a black background.