#31434F color
The hex color #31434F is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 26.3% green and 31% blue (49, 67, 79).
Its hue angle is 204°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 38% cyan, 15% magenta, 0% yellow and 69% black.
The closest named color is Charcoal (#36454F), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.26:1).
#31434F color codes
| HEX | #31434F | |
|---|---|---|
| RGB | rgb(49, 67, 79) | |
| RGB percent | rgb(19.2%, 26.3%, 31%) | |
| HSL | hsl(204, 23%, 25%) | |
| HSV / HSB | hsv(204, 38%, 31%) | |
| CMYK | cmyk(38%, 15%, 0%, 69%) | |
| CIE LAB | lab(27.38, -3.68, -9.52) | |
| CIE LCH | lch(27.38, 10.2, 248.86) | |
| CIE XYZ | xyz(4.685, 5.232, 8.159) | |
| Decimal | 3228495 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31434F, 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 #31434F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.26:1 | Pass | Pass | Pass |
| #31434F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.26:1 | Pass | Pass | Pass |
| Sample text | 2.05: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 #31434F looks to people with the most common types of color vision deficiency.
#3e4350Protanopia
no red cones#3a3f4fDeuteranopia
no green cones#274647Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #31434f; }
.text { color: #31434f; }
.border { border: 2px solid #31434f; }
.transparent { background-color: rgb(49 67 79 / 50%); }
.gradient { background: linear-gradient(to right, #31434f, #31344f); }
Similar colors
#36454fCharcoal#253f4eDepths of the Nile#3b444bArsenic#404c57Abyssal#29465bOne Year of Rain#344d58Nocturne#3e4855Starless Night#303a40Tempest in a Teapot
Questions
- What color is #31434F?
- #31434F is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #31434F?
- The RGB value is 49, 67, 79: 49 red, 67 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #31434F?
- The complementary color is #4F3D31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31434F?
- White text. Black text has a contrast ratio of 2.05:1 and white text 10.26:1. WCAG asks for at least 4.5:1 for normal text.