#312D34 color

#312D34 rgb(49, 45, 52)
Shades of black

The hex color #312D34 is a dark gray.

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

Its hue angle is 274°, with 7% saturation and 19% lightness. For print, the CMYK equivalent is 6% cyan, 13% magenta, 0% yellow and 80% black.

The closest named color is Haiti (#2C2A35), a difference of 2.6 ΔE, a small difference.

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

#312D34 color codes

HEX#312D34
RGBrgb(49, 45, 52)
RGB percentrgb(19.2%, 17.6%, 20.4%)
HSLhsl(274, 7%, 19%)
HSV / HSBhsv(274, 13%, 20%)
CMYKcmyk(6%, 13%, 0%, 80%)
CIE LABlab(19.13, 3.45, -3.83)
CIE LCHlch(19.13, 5.16, 312)
CIE XYZxyz(2.825, 2.778, 3.635)
Decimal3222836
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #312D34, 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 #312D34RatioAAAAAAA large
Sample text1.56:1FailFailFail
Sample text13.5:1PassPassPass
#312D34 as text onRatioAAAAAAA large
Sample text13.5:1PassPassPass
Sample text1.56: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 #312D34 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Jet Black.

Questions

What color is #312D34?
#312D34 is a dark gray, closest to the named color Haiti. It belongs to the black family of colors.
What is the RGB value of #312D34?
The RGB value is 49, 45, 52: 49 red, 45 green and 52 blue on a 0 to 255 scale.
What is the complementary color of #312D34?
The complementary color is #30342D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312D34?
White text. Black text has a contrast ratio of 1.56:1 and white text 13.5:1. WCAG asks for at least 4.5:1 for normal text.