#31375B color
The hex color #31375B is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 21.6% green and 35.7% blue (49, 55, 91).
Its hue angle is 231°, with 30% saturation and 27% lightness. For print, the CMYK equivalent is 46% cyan, 40% magenta, 0% yellow and 64% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.49:1).
#31375B color codes
| HEX | #31375B | |
|---|---|---|
| RGB | rgb(49, 55, 91) | |
| RGB percent | rgb(19.2%, 21.6%, 35.7%) | |
| HSL | hsl(231, 30%, 27%) | |
| HSV / HSB | hsv(231, 46%, 36%) | |
| CMYK | cmyk(46%, 40%, 0%, 64%) | |
| CIE LAB | lab(24.13, 8.18, -22.4) | |
| CIE LCH | lch(24.13, 23.84, 290.06) | |
| CIE XYZ | xyz(4.521, 4.14, 10.456) | |
| Decimal | 3225435 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31375B, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #31375B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.49:1 | Pass | Pass | Pass |
| #31375B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.49:1 | Pass | Pass | Pass |
| Sample text | 1.83:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #31375B looks to people with the most common types of color vision deficiency.
#2a3b5cProtanopia
no red cones#27385aDeuteranopia
no green cones#233e44Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #31375b; }
.text { color: #31375b; }
.border { border: 2px solid #31375b; }
.transparent { background-color: rgb(49 55 91 / 50%); }
.gradient { background: linear-gradient(to right, #31375b, #40315b); }
Similar colors
#2b3458Midnight Escapade#2e3858Mediaeval Blue#3d3d63Storm Is Coming#2e305eGalaxea#3e4364Genie#2c2c57Deep Sea Base#2c2e47Midnight Masquerade#322c56Purple Noir
Closest common color name: Oxford Blue.
Questions
- What color is #31375B?
- #31375B is a dark, desaturated blue, closest to the named color Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of #31375B?
- The RGB value is 49, 55, 91: 49 red, 55 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #31375B?
- The complementary color is #5B5531, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31375B?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.49:1. WCAG asks for at least 4.5:1 for normal text.