In RGB color space, #31278b hex color has a red value of 49, a green value of 39 and a blue value of 139.
In CMYK color space (used in color printing), #31278b hex color is composed of 64.75% cyan, 71.94% magenta, 0% yellow and 45.49% black.
#31278b color has a hue of 246 degrees, a saturation of 56.18% and a lightness of 34.9%.
#31278b hex color contains mainly BLUE.
The closest web safe color of #31278b is #333399
#31278b hex color has a decimal value of 3221387.
HEX | 31278b | #31278b |
---|---|---|
RGB | 49, 39, 139 | rgb(49, 39, 139) |
RGB Percent | 19.22, 15.29, 54.51 | rgb(19.22, 15.29, 54.51) |
CMYK | 65, 72, 0, 45 | |
HSL | 246°, 56.18, 34.9 | hsl(246, 56.18%, 34.9%) |
HSV | 246°, 71.9, 54.5 |
XYZ | 6.652, 3.968, 24.841 |
---|---|
Hunter Lab | 19.92, 24.748, -59.994 |
CIE-LAB | 23.565, 35.511, -53.992 |
CIE-LCH | 23.565, 64.623, 303.333 |
CIE-LUV | 64.75, 71.94, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #31278b
CMYK percent of color #31278b
Text with hexadecimal color #31278b
This text has a font color of #31278b
<p style="color:#31278b">Text here</p>
#31278b Background Color
This box has a background color of #31278b
<div style="background-color:#31278b">Text here</div>
#31278b Border Color
This box has a border color of #31278b
<div style="border: 4px solid #31278b">Text here</div>
CSS codes
<p style="color:#31278b">Text here</p>
<div style="background-color:#31278b">Text here</div>
<div style="border: 4px solid #31278b">Text here</div>
#31278b Color on white background
This is how a font and box color of #31278b will look
on a white background.
#31278b Color on black background
This is how a font and box color of #31278b hex color will look
on a black background.