#312E2B color
The hex color #312E2B is a dark gray.
In the RGB color model it is made of 19.2% red, 18% green and 16.9% blue (49, 46, 43).
Its hue angle is 30°, with 7% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 12% yellow and 81% black.
The closest named color is Holy Crow (#332F2C), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.49:1).
#312E2B color codes
| HEX | #312E2B | |
|---|---|---|
| RGB | rgb(49, 46, 43) | |
| RGB percent | rgb(19.2%, 18%, 16.9%) | |
| HSL | hsl(30, 7%, 18%) | |
| HSV / HSB | hsv(30, 12%, 19%) | |
| CMYK | cmyk(0%, 6%, 12%, 81%) | |
| CIE LAB | lab(19.15, 0.68, 2.41) | |
| CIE LCH | lch(19.15, 2.51, 74.18) | |
| CIE XYZ | xyz(2.68, 2.781, 2.681) | |
| Decimal | 3223083 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312E2B, 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 #312E2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.49:1 | Pass | Pass | Pass |
| #312E2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.49:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #312E2B looks to people with the most common types of color vision deficiency.
#2f2e2bProtanopia
no red cones#302f2bDeuteranopia
no green cones#322d2dTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #312e2b; }
.text { color: #312e2b; }
.border { border: 2px solid #312e2b; }
.transparent { background-color: rgb(49 46 43 / 50%); }
.gradient { background: linear-gradient(to right, #312e2b, #31312b); }
Similar colors
#332f2cHoly Crow#312b27Noir#333232Dark Charcoal#2e2e2eCarbon Fibre#3a3532Kilimanjaro#322c2bDiesel#332e2eNight Rider#2a2a2aThe End
Closest common color name: Jet Black.
Questions
- What color is #312E2B?
- #312E2B is a dark gray, closest to the named color Holy Crow. It belongs to the black family of colors.
- What is the RGB value of #312E2B?
- The RGB value is 49, 46, 43: 49 red, 46 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #312E2B?
- The complementary color is #2B2E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312E2B?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.49:1. WCAG asks for at least 4.5:1 for normal text.