In RGB color space, #312fa4 hex color has a red value of 49, a green value of 47 and a blue value of 164.
In CMYK color space (used in color printing), #312fa4 hex color is composed of 70.12% cyan, 71.34% magenta, 0% yellow and 35.69% black.
#312fa4 color has a hue of 241 degrees, a saturation of 55.45% and a lightness of 41.4%.
#312fa4 hex color contains mainly BLUE.
The closest web safe color of #312fa4 is #333399
#312fa4 hex color has a decimal value of 3223460.
HEX | 312fa4 | #312fa4 |
---|---|---|
RGB | 49, 47, 164 | rgb(49, 47, 164) |
RGB Percent | 19.22, 18.43, 64.31 | rgb(19.22, 18.43, 64.31) |
CMYK | 70, 71, 0, 36 | |
HSL | 241°, 55.45, 41.4 | hsl(241, 55.45%, 41.4%) |
HSV | 241°, 71.3, 64.3 |
XYZ | 8.984, 5.366, 35.684 |
---|---|
Hunter Lab | 23.165, 28.69, -75.118 |
CIE-LAB | 27.753, 39.171, -62.454 |
CIE-LCH | 27.753, 73.722, 302.096 |
CIE-LUV | 70.12, 71.34, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #312fa4
CMYK percent of color #312fa4
Text with hexadecimal color #312fa4
This text has a font color of #312fa4
<p style="color:#312fa4">Text here</p>
#312fa4 Background Color
This box has a background color of #312fa4
<div style="background-color:#312fa4">Text here</div>
#312fa4 Border Color
This box has a border color of #312fa4
<div style="border: 4px solid #312fa4">Text here</div>
CSS codes
<p style="color:#312fa4">Text here</p>
<div style="background-color:#312fa4">Text here</div>
<div style="border: 4px solid #312fa4">Text here</div>
#312fa4 Color on white background
This is how a font and box color of #312fa4 will look
on a white background.
#312fa4 Color on black background
This is how a font and box color of #312fa4 hex color will look
on a black background.