In RGB color space, #312fa7 hex color has a red value of 49, a green value of 47 and a blue value of 167.
In CMYK color space (used in color printing), #312fa7 hex color is composed of 70.66% cyan, 71.86% magenta, 0% yellow and 34.51% black.
#312fa7 color has a hue of 241 degrees, a saturation of 56.07% and a lightness of 42%.
#312fa7 hex color contains mainly BLUE.
The closest web safe color of #312fa7 is #333399
#312fa7 hex color has a decimal value of 3223463.
HEX | 312fa7 | #312fa7 |
---|---|---|
RGB | 49, 47, 167 | rgb(49, 47, 167) |
RGB Percent | 19.22, 18.43, 65.49 | rgb(19.22, 18.43, 65.49) |
CMYK | 71, 72, 0, 35 | |
HSL | 241°, 56.07, 42 | hsl(241, 56.07%, 42%) |
HSV | 241°, 71.9, 65.5 |
XYZ | 9.258, 5.476, 37.128 |
---|---|
Hunter Lab | 23.401, 29.668, -77.689 |
CIE-LAB | 28.05, 40.183, -63.778 |
CIE-LCH | 28.05, 75.381, 302.213 |
CIE-LUV | 70.66, 71.86, 0, 34.51 |
Web Safe | 333399 |
RGB percent of color #312fa7
CMYK percent of color #312fa7
Text with hexadecimal color #312fa7
This text has a font color of #312fa7
<p style="color:#312fa7">Text here</p>
#312fa7 Background Color
This box has a background color of #312fa7
<div style="background-color:#312fa7">Text here</div>
#312fa7 Border Color
This box has a border color of #312fa7
<div style="border: 4px solid #312fa7">Text here</div>
CSS codes
<p style="color:#312fa7">Text here</p>
<div style="background-color:#312fa7">Text here</div>
<div style="border: 4px solid #312fa7">Text here</div>
#312fa7 Color on white background
This is how a font and box color of #312fa7 will look
on a white background.
#312fa7 Color on black background
This is how a font and box color of #312fa7 hex color will look
on a black background.