In RGB color space, #31387d hex color has a red value of 49, a green value of 56 and a blue value of 125.
In CMYK color space (used in color printing), #31387d hex color is composed of 60.8% cyan, 55.2% magenta, 0% yellow and 50.98% black.
#31387d color has a hue of 234.5 degrees, a saturation of 43.68% and a lightness of 34.1%.
#31387d hex color contains mainly BLUE.
The closest web safe color of #31387d is #333366
#31387d hex color has a decimal value of 3225725.
HEX | 31387d | #31387d |
---|---|---|
RGB | 49, 56, 125 | rgb(49, 56, 125) |
RGB Percent | 19.22, 21.96, 49.02 | rgb(19.22, 21.96, 49.02) |
CMYK | 61, 55, 0, 51 | |
HSL | 234.5°, 43.68, 34.1 | hsl(234.5, 43.68%, 34.1%) |
HSV | 234.5°, 60.8, 49 |
XYZ | 6.382, 4.962, 20.023 |
---|---|
Hunter Lab | 22.276, 12.158, -37.702 |
CIE-LAB | 26.626, 19.491, -40.239 |
CIE-LCH | 26.626, 44.711, 295.845 |
CIE-LUV | 60.8, 55.2, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #31387d
CMYK percent of color #31387d
Text with hexadecimal color #31387d
This text has a font color of #31387d
<p style="color:#31387d">Text here</p>
#31387d Background Color
This box has a background color of #31387d
<div style="background-color:#31387d">Text here</div>
#31387d Border Color
This box has a border color of #31387d
<div style="border: 4px solid #31387d">Text here</div>
CSS codes
<p style="color:#31387d">Text here</p>
<div style="background-color:#31387d">Text here</div>
<div style="border: 4px solid #31387d">Text here</div>
#31387d Color on white background
This is how a font and box color of #31387d will look
on a white background.
#31387d Color on black background
This is how a font and box color of #31387d hex color will look
on a black background.