#312D2B color

#312D2B rgb(49, 45, 43)
Shades of black

The hex color #312D2B is a dark gray.

In the RGB color model it is made of 19.2% red, 17.6% green and 16.9% blue (49, 45, 43).

Its hue angle is 20°, with 7% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 12% yellow and 81% black.

The closest named color is Holy Crow (#332F2C), a difference of 0.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 13.63:1).

#312D2B color codes

HEX#312D2B
RGBrgb(49, 45, 43)
RGB percentrgb(19.2%, 17.6%, 16.9%)
HSLhsl(20, 7%, 18%)
HSV / HSBhsv(20, 12%, 19%)
CMYKcmyk(0%, 8%, 12%, 81%)
CIE LABlab(18.82, 1.36, 1.94)
CIE LCHlch(18.82, 2.37, 54.9)
CIE XYZxyz(2.641, 2.704, 2.668)
Decimal3222827
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #312D2B, 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 #312D2BRatioAAAAAAA large
Sample text1.54:1FailFailFail
Sample text13.63:1PassPassPass
#312D2B as text onRatioAAAAAAA large
Sample text13.63:1PassPassPass
Sample text1.54:1FailFailFail

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 #312D2B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #312d2b; }
.text { color: #312d2b; }
.border { border: 2px solid #312d2b; }
.transparent { background-color: rgb(49 45 43 / 50%); }
.gradient { background: linear-gradient(to right, #312d2b, #31302b); }
Background
Text color
Border

Similar colors

Closest common color name: Jet Black.

Questions

What color is #312D2B?
#312D2B 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 #312D2B?
The RGB value is 49, 45, 43: 49 red, 45 green and 43 blue on a 0 to 255 scale.
What is the complementary color of #312D2B?
The complementary color is #2B2F31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312D2B?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.