In RGB color space, #312fa8 hex color has a red value of 49, a green value of 47 and a blue value of 168.
In CMYK color space (used in color printing), #312fa8 hex color is composed of 70.83% cyan, 72.02% magenta, 0% yellow and 34.12% black.
#312fa8 color has a hue of 241 degrees, a saturation of 56.28% and a lightness of 42.2%.
#312fa8 hex color contains mainly BLUE.
The closest web safe color of #312fa8 is #333399
#312fa8 hex color has a decimal value of 3223464.
HEX | 312fa8 | #312fa8 |
---|---|---|
RGB | 49, 47, 168 | rgb(49, 47, 168) |
RGB Percent | 19.22, 18.43, 65.88 | rgb(19.22, 18.43, 65.88) |
CMYK | 71, 72, 0, 34 | |
HSL | 241°, 56.28, 42.2 | hsl(241, 56.28%, 42.2%) |
HSV | 241°, 72, 65.9 |
XYZ | 9.351, 5.513, 37.617 |
---|---|
Hunter Lab | 23.48, 29.999, -78.553 |
CIE-LAB | 28.149, 40.524, -64.218 |
CIE-LCH | 28.149, 75.935, 302.253 |
CIE-LUV | 70.83, 72.02, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #312fa8
CMYK percent of color #312fa8
Text with hexadecimal color #312fa8
This text has a font color of #312fa8
<p style="color:#312fa8">Text here</p>
#312fa8 Background Color
This box has a background color of #312fa8
<div style="background-color:#312fa8">Text here</div>
#312fa8 Border Color
This box has a border color of #312fa8
<div style="border: 4px solid #312fa8">Text here</div>
CSS codes
<p style="color:#312fa8">Text here</p>
<div style="background-color:#312fa8">Text here</div>
<div style="border: 4px solid #312fa8">Text here</div>
#312fa8 Color on white background
This is how a font and box color of #312fa8 will look
on a white background.
#312fa8 Color on black background
This is how a font and box color of #312fa8 hex color will look
on a black background.