#31354B color
The hex color #31354B is a dark, grayish blue.
In the RGB color model it is made of 19.2% red, 20.8% green and 29.4% blue (49, 53, 75).
Its hue angle is 231°, with 21% saturation and 24% lightness. For print, the CMYK equivalent is 35% cyan, 29% magenta, 0% yellow and 71% black.
The closest named color is Shuriken (#333344), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.06:1).
#31354B color codes
| HEX | #31354B | |
|---|---|---|
| RGB | rgb(49, 53, 75) | |
| RGB percent | rgb(19.2%, 20.8%, 29.4%) | |
| HSL | hsl(231, 21%, 24%) | |
| HSV / HSB | hsv(231, 35%, 29%) | |
| CMYK | cmyk(35%, 29%, 0%, 71%) | |
| CIE LAB | lab(22.68, 4.39, -14.08) | |
| CIE LCH | lch(22.68, 14.75, 287.33) | |
| CIE XYZ | xyz(3.809, 3.707, 7.17) | |
| Decimal | 3224907 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31354B, 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 #31354B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.06:1 | Pass | Pass | Pass |
| #31354B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.06:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #31354B looks to people with the most common types of color vision deficiency.
#2e374cProtanopia
no red cones#2d354aDeuteranopia
no green cones#2a393dTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #31354b; }
.text { color: #31354b; }
.border { border: 2px solid #31354b; }
.transparent { background-color: rgb(49 53 75 / 50%); }
.gradient { background: linear-gradient(to right, #31354b, #3a314b); }
Similar colors
#333344Shuriken#2c2e47Midnight Masquerade#2e3858Mediaeval Blue#303543Total Eclipse#21263aMidnight Express#3c4151Lava Stone#2b3458Midnight Escapade#353f51Dark & Stormy
Closest common color name: Oxford Blue.
Questions
- What color is #31354B?
- #31354B is a dark, grayish blue, closest to the named color Shuriken. It belongs to the blue family of colors.
- What is the RGB value of #31354B?
- The RGB value is 49, 53, 75: 49 red, 53 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #31354B?
- The complementary color is #4B4731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31354B?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.06:1. WCAG asks for at least 4.5:1 for normal text.