#383031 color

#383031 rgb(56, 48, 49)
Shades of gray

The hex color #383031 is a dark gray.

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

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

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

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

#383031 color codes

HEX#383031
RGBrgb(56, 48, 49)
RGB percentrgb(22%, 18.8%, 19.2%)
HSLhsl(353, 8%, 20%)
HSV / HSBhsv(353, 14%, 22%)
CMYKcmyk(0%, 14%, 13%, 78%)
CIE LABlab(20.74, 3.81, 0.69)
CIE LCHlch(20.74, 3.87, 10.22)
CIE XYZxyz(3.242, 3.176, 3.347)
Decimal3682353
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Jet Black.

Questions

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