#31355B color
The hex color #31355B is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 20.8% green and 35.7% blue (49, 53, 91).
Its hue angle is 234°, with 30% saturation and 27% lightness. For print, the CMYK equivalent is 46% cyan, 42% magenta, 0% yellow and 64% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.73:1).
#31355B color codes
| HEX | #31355B | |
|---|---|---|
| RGB | rgb(49, 53, 91) | |
| RGB percent | rgb(19.2%, 20.8%, 35.7%) | |
| HSL | hsl(234, 30%, 27%) | |
| HSV / HSB | hsv(234, 46%, 36%) | |
| CMYK | cmyk(46%, 42%, 0%, 64%) | |
| CIE LAB | lab(23.52, 9.56, -23.36) | |
| CIE LCH | lch(23.52, 25.24, 292.26) | |
| CIE XYZ | xyz(4.427, 3.954, 10.425) | |
| Decimal | 3224923 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31355B, 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 #31355B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.73:1 | Pass | Pass | Pass |
| #31355B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.73:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #31355B looks to people with the most common types of color vision deficiency.
#273a5cProtanopia
no red cones#25365aDeuteranopia
no green cones#233d43Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #31355b; }
.text { color: #31355b; }
.border { border: 2px solid #31355b; }
.transparent { background-color: rgb(49 53 91 / 50%); }
.gradient { background: linear-gradient(to right, #31355b, #42315b); }
Similar colors
#2b3458Midnight Escapade#2e305eGalaxea#2e3858Mediaeval Blue#3d3d63Storm Is Coming#2c2c57Deep Sea Base#322c56Purple Noir#1d2951Space Cadet#3e4364Genie
Closest common color name: Oxford Blue.
Questions
- What color is #31355B?
- #31355B 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 #31355B?
- The RGB value is 49, 53, 91: 49 red, 53 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #31355B?
- The complementary color is #5B5731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31355B?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.73:1. WCAG asks for at least 4.5:1 for normal text.