In RGB color space, #312a7d hex color has a red value of 49, a green value of 42 and a blue value of 125.
In CMYK color space (used in color printing), #312a7d hex color is composed of 60.8% cyan, 66.4% magenta, 0% yellow and 50.98% black.
#312a7d color has a hue of 245.1 degrees, a saturation of 49.7% and a lightness of 32.7%.
#312a7d hex color contains mainly BLUE.
The closest web safe color of #312a7d is #333366
#312a7d hex color has a decimal value of 3222141.
HEX | 312a7d | #312a7d |
---|---|---|
RGB | 49, 42, 125 | rgb(49, 42, 125) |
RGB Percent | 19.22, 16.47, 49.02 | rgb(19.22, 16.47, 49.02) |
CMYK | 61, 66, 0, 51 | |
HSL | 245.1°, 49.7, 32.7 | hsl(245.1, 49.7%, 32.7%) |
HSV | 245.1°, 66.4, 49 |
XYZ | 5.796, 3.79, 19.828 |
---|---|
Hunter Lab | 19.468, 19.074, -46.759 |
CIE-LAB | 22.965, 28.853, -46.182 |
CIE-LCH | 22.965, 54.454, 301.996 |
CIE-LUV | 60.8, 66.4, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #312a7d
CMYK percent of color #312a7d
Text with hexadecimal color #312a7d
This text has a font color of #312a7d
<p style="color:#312a7d">Text here</p>
#312a7d Background Color
This box has a background color of #312a7d
<div style="background-color:#312a7d">Text here</div>
#312a7d Border Color
This box has a border color of #312a7d
<div style="border: 4px solid #312a7d">Text here</div>
CSS codes
<p style="color:#312a7d">Text here</p>
<div style="background-color:#312a7d">Text here</div>
<div style="border: 4px solid #312a7d">Text here</div>
#312a7d Color on white background
This is how a font and box color of #312a7d will look
on a white background.
#312a7d Color on black background
This is how a font and box color of #312a7d hex color will look
on a black background.