In RGB color space, #313172 hex color has a red value of 49, a green value of 49 and a blue value of 114.
In CMYK color space (used in color printing), #313172 hex color is composed of 57.02% cyan, 57.02% magenta, 0% yellow and 55.29% black.
#313172 color has a hue of 240 degrees, a saturation of 39.88% and a lightness of 32%.
#313172 hex color contains mainly BLUE.
The closest web safe color of #313172 is #333366
#313172 hex color has a decimal value of 3223922.
HEX | 313172 | #313172 |
---|---|---|
RGB | 49, 49, 114 | rgb(49, 49, 114) |
RGB Percent | 19.22, 19.22, 44.71 | rgb(19.22, 19.22, 44.71) |
CMYK | 57, 57, 0, 55 | |
HSL | 240°, 39.88, 32 | hsl(240, 39.88%, 32%) |
HSV | 240°, 57, 44.7 |
XYZ | 5.402, 4.064, 16.419 |
---|---|
Hunter Lab | 20.159, 12.553, -34.178 |
CIE-LAB | 23.882, 20.334, -37.691 |
CIE-LCH | 23.882, 42.826, 298.347 |
CIE-LUV | 57.02, 57.02, 0, 55.29 |
Web Safe | 333366 |
RGB percent of color #313172
CMYK percent of color #313172
Text with hexadecimal color #313172
This text has a font color of #313172
<p style="color:#313172">Text here</p>
#313172 Background Color
This box has a background color of #313172
<div style="background-color:#313172">Text here</div>
#313172 Border Color
This box has a border color of #313172
<div style="border: 4px solid #313172">Text here</div>
CSS codes
<p style="color:#313172">Text here</p>
<div style="background-color:#313172">Text here</div>
<div style="border: 4px solid #313172">Text here</div>
#313172 Color on white background
This is how a font and box color of #313172 will look
on a white background.
#313172 Color on black background
This is how a font and box color of #313172 hex color will look
on a black background.