#31434E color
The hex color #31434E is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 26.3% green and 30.6% blue (49, 67, 78).
Its hue angle is 203°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 37% cyan, 14% magenta, 0% yellow and 69% black.
The closest named color is Charcoal (#36454F), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.28:1).
#31434E color codes
| HEX | #31434E | |
|---|---|---|
| RGB | rgb(49, 67, 78) | |
| RGB percent | rgb(19.2%, 26.3%, 30.6%) | |
| HSL | hsl(203, 23%, 25%) | |
| HSV / HSB | hsv(203, 37%, 31%) | |
| CMYK | cmyk(37%, 14%, 0%, 69%) | |
| CIE LAB | lab(27.34, -3.98, -8.92) | |
| CIE LCH | lch(27.34, 9.77, 245.96) | |
| CIE XYZ | xyz(4.648, 5.217, 7.968) | |
| Decimal | 3228494 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31434E, 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 #31434E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.28:1 | Pass | Pass | Pass |
| #31434E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.28:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #31434E looks to people with the most common types of color vision deficiency.
#3e424fProtanopia
no red cones#3a3f4eDeuteranopia
no green cones#274646Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #31434e; }
.text { color: #31434e; }
.border { border: 2px solid #31434e; }
.transparent { background-color: rgb(49 67 78 / 50%); }
.gradient { background: linear-gradient(to right, #31434e, #31354e); }
Similar colors
#36454fCharcoal#253f4eDepths of the Nile#3b444bArsenic#344d58Nocturne#303a40Tempest in a Teapot#404c57Abyssal#243640Petrol Slumber#3d474bLights Out
Questions
- What color is #31434E?
- #31434E 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 #31434E?
- The RGB value is 49, 67, 78: 49 red, 67 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #31434E?
- The complementary color is #4E3C31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31434E?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.28:1. WCAG asks for at least 4.5:1 for normal text.