#383131 color

#383131 rgb(56, 49, 49)
Shades of gray

The hex color #383131 is a dark gray.

In the RGB color model it is made of 22% red, 19.2% green and 19.2% blue (56, 49, 49).

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

The closest named color is After Dark (#3C3535), a difference of 1.3 ΔE, which is barely visible.

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

#383131 color codes

HEX#383131
RGBrgb(56, 49, 49)
RGB percentrgb(22%, 19.2%, 19.2%)
HSLhsl(0, 7%, 21%)
HSV / HSBhsv(0, 12%, 22%)
CMYKcmyk(0%, 13%, 13%, 78%)
CIE LABlab(21.05, 3.13, 1.15)
CIE LCHlch(21.05, 3.33, 20.09)
CIE XYZxyz(3.284, 3.259, 3.361)
Decimal3682609
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #383131, 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 #383131RatioAAAAAAA large
Sample text1.65:1FailFailFail
Sample text12.71:1PassPassPass
#383131 as text onRatioAAAAAAA large
Sample text12.71:1PassPassPass
Sample text1.65: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 #383131 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #383131; }
.text { color: #383131; }
.border { border: 2px solid #383131; }
.transparent { background-color: rgb(56 49 49 / 50%); }
.gradient { background: linear-gradient(to right, #383131, #383531); }
Background
Text color
Border

Similar colors

Closest common color name: Jet Black.

Questions

What color is #383131?
#383131 is a dark gray, closest to the named color After Dark. It belongs to the gray family of colors.
What is the RGB value of #383131?
The RGB value is 56, 49, 49: 56 red, 49 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #383131?
The complementary color is #313838, found by rotating the hue 180° on the color wheel.
Is black or white text better on #383131?
White text. Black text has a contrast ratio of 1.65:1 and white text 12.71:1. WCAG asks for at least 4.5:1 for normal text.