In RGB color space, #312ba4 hex color has a red value of 49, a green value of 43 and a blue value of 164.
In CMYK color space (used in color printing), #312ba4 hex color is composed of 70.12% cyan, 73.78% magenta, 0% yellow and 35.69% black.
#312ba4 color has a hue of 243 degrees, a saturation of 58.45% and a lightness of 40.6%.
#312ba4 hex color contains mainly BLUE.
The closest web safe color of #312ba4 is #333399
#312ba4 hex color has a decimal value of 3222436.
HEX | 312ba4 | #312ba4 |
---|---|---|
RGB | 49, 43, 164 | rgb(49, 43, 164) |
RGB Percent | 19.22, 16.86, 64.31 | rgb(19.22, 16.86, 64.31) |
CMYK | 70, 74, 0, 36 | |
HSL | 243°, 58.45, 40.6 | hsl(243, 58.45%, 40.6%) |
HSV | 243°, 73.8, 64.3 |
XYZ | 8.831, 5.061, 35.633 |
---|---|
Hunter Lab | 22.497, 30.7, -78.163 |
CIE-LAB | 26.908, 41.514, -63.846 |
CIE-LCH | 26.908, 76.156, 303.033 |
CIE-LUV | 70.12, 73.78, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #312ba4
CMYK percent of color #312ba4
Text with hexadecimal color #312ba4
This text has a font color of #312ba4
<p style="color:#312ba4">Text here</p>
#312ba4 Background Color
This box has a background color of #312ba4
<div style="background-color:#312ba4">Text here</div>
#312ba4 Border Color
This box has a border color of #312ba4
<div style="border: 4px solid #312ba4">Text here</div>
CSS codes
<p style="color:#312ba4">Text here</p>
<div style="background-color:#312ba4">Text here</div>
<div style="border: 4px solid #312ba4">Text here</div>
#312ba4 Color on white background
This is how a font and box color of #312ba4 will look
on a white background.
#312ba4 Color on black background
This is how a font and box color of #312ba4 hex color will look
on a black background.