In RGB color space, #312ac6 hex color has a red value of 49, a green value of 42 and a blue value of 198.
In CMYK color space (used in color printing), #312ac6 hex color is composed of 75.25% cyan, 78.79% magenta, 0% yellow and 22.35% black.
#312ac6 color has a hue of 242.7 degrees, a saturation of 65% and a lightness of 47.1%.
#312ac6 hex color contains mainly BLUE.
The closest web safe color of #312ac6 is #3333cc
#312ac6 hex color has a decimal value of 3222214.
HEX | 312ac6 | #312ac6 |
---|---|---|
RGB | 49, 42, 198 | rgb(49, 42, 198) |
RGB Percent | 19.22, 16.47, 77.65 | rgb(19.22, 16.47, 77.65) |
CMYK | 75, 79, 0, 22 | |
HSL | 242.7°, 65, 47.1 | hsl(242.7, 65%, 47.1%) |
HSV | 242.7°, 78.8, 77.6 |
XYZ | 12.288, 6.386, 54.011 |
---|---|
Hunter Lab | 25.271, 42.574, -109.032 |
CIE-LAB | 30.366, 52.97, -78.379 |
CIE-LCH | 30.366, 94.6, 304.052 |
CIE-LUV | 75.25, 78.79, 0, 22.35 |
Web Safe | 3333cc |
RGB percent of color #312ac6
CMYK percent of color #312ac6
Text with hexadecimal color #312ac6
This text has a font color of #312ac6
<p style="color:#312ac6">Text here</p>
#312ac6 Background Color
This box has a background color of #312ac6
<div style="background-color:#312ac6">Text here</div>
#312ac6 Border Color
This box has a border color of #312ac6
<div style="border: 4px solid #312ac6">Text here</div>
CSS codes
<p style="color:#312ac6">Text here</p>
<div style="background-color:#312ac6">Text here</div>
<div style="border: 4px solid #312ac6">Text here</div>
#312ac6 Color on white background
This is how a font and box color of #312ac6 will look
on a white background.
#312ac6 Color on black background
This is how a font and box color of #312ac6 hex color will look
on a black background.