In RGB color space, #312ba2 hex color has a red value of 49, a green value of 43 and a blue value of 162.
In CMYK color space (used in color printing), #312ba2 hex color is composed of 69.75% cyan, 73.46% magenta, 0% yellow and 36.47% black.
#312ba2 color has a hue of 243 degrees, a saturation of 58.05% and a lightness of 40.2%.
#312ba2 hex color contains mainly BLUE.
The closest web safe color of #312ba2 is #333399
#312ba2 hex color has a decimal value of 3222434.
HEX | 312ba2 | #312ba2 |
---|---|---|
RGB | 49, 43, 162 | rgb(49, 43, 162) |
RGB Percent | 19.22, 16.86, 63.53 | rgb(19.22, 16.86, 63.53) |
CMYK | 70, 73, 0, 36 | |
HSL | 243°, 58.05, 40.2 | hsl(243, 58.05%, 40.2%) |
HSV | 243°, 73.5, 63.5 |
XYZ | 8.652, 4.989, 34.689 |
---|---|
Hunter Lab | 22.336, 30.055, -76.445 |
CIE-LAB | 26.703, 40.854, -62.97 |
CIE-LCH | 26.703, 75.062, 302.975 |
CIE-LUV | 69.75, 73.46, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #312ba2
CMYK percent of color #312ba2
Text with hexadecimal color #312ba2
This text has a font color of #312ba2
<p style="color:#312ba2">Text here</p>
#312ba2 Background Color
This box has a background color of #312ba2
<div style="background-color:#312ba2">Text here</div>
#312ba2 Border Color
This box has a border color of #312ba2
<div style="border: 4px solid #312ba2">Text here</div>
CSS codes
<p style="color:#312ba2">Text here</p>
<div style="background-color:#312ba2">Text here</div>
<div style="border: 4px solid #312ba2">Text here</div>
#312ba2 Color on white background
This is how a font and box color of #312ba2 will look
on a white background.
#312ba2 Color on black background
This is how a font and box color of #312ba2 hex color will look
on a black background.