#393940 color

#393940 rgb(57, 57, 64)
Shades of gray

The hex color #393940 is a dark gray.

In the RGB color model it is made of 22.4% red, 22.4% green and 25.1% blue (57, 57, 64).

Its hue angle is 240°, with 6% saturation and 24% lightness. For print, the CMYK equivalent is 11% cyan, 11% magenta, 0% yellow and 75% black.

The closest named color is After Midnight (#38393F), a difference of 1 ΔE, which is barely visible.

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

#393940 color codes

HEX#393940
RGBrgb(57, 57, 64)
RGB percentrgb(22.4%, 22.4%, 25.1%)
HSLhsl(240, 6%, 24%)
HSV / HSBhsv(240, 11%, 25%)
CMYKcmyk(11%, 11%, 0%, 75%)
CIE LABlab(24.21, 1.67, -4.32)
CIE LCHlch(24.21, 4.64, 291.16)
CIE XYZxyz(4.076, 4.166, 5.439)
Decimal3750208
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #393940; }
.text { color: #393940; }
.border { border: 2px solid #393940; }
.transparent { background-color: rgb(57 57 64 / 50%); }
.gradient { background: linear-gradient(to right, #393940, #3c3940); }
Background
Text color
Border

Similar colors

Closest common color name: Graphite.

Questions

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