Skip to content

#393d40

a deep, muted gray · neutral · closest name: Dark Slate Gray

RGB
57, 61, 64
HSL
206°, 6%, 24%
CMYK
11, 5, 0, 75
Luminance
0.0458

At a glance

Every number on this page in one read: what #393d40 is made of, how bright it looks, and which way it leans.

Hex
#393d40
Hue
206°
gray
Saturation
6%
muted
Lightness
24%
deep
Brightness
25%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0458
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Gray
Tone
Muted
Best ink
White
10.96:1
Closest name
Dark Slate Gray
ΔE2000 12.1
Where it sits
Hue206° of 360°
Saturation6%
Lightness24%
Temperature
Warm ← → Cool58% cool

Near-neutral, so temperature is a whisper rather than a statement — the tinted siblings below show which way it can lean.

Every format

HEX#393d40
RGBrgb(57, 61, 64)
HSLhsl(206, 6%, 24%)
CMYKcmyk(11%, 5%, 0%, 75%)
LABlab(25.5 -1.0 -2.4)
LCHlch(25.5 2.6 248.4)
OKLCHoklch(0.357 0.007 240.0)
Decimal3751232
Display P3color(display-p3 0.224 0.239 0.251)

Copy-ready code

/* CSS */
color: #393d40;
background-color: #393d40;
/* Tailwind (arbitrary) */
class="text-[#393d40] bg-[#393d40]"
/* SCSS */
$brand: #393d40;
/* SwiftUI */
Color(red: 0.224, green: 0.239, blue: 0.251)
/* Android */
Color.parseColor("#393d40")
/* Flutter */
Color(0xFF393D40)
/* Python / OpenCV (BGR) */
(64, 61, 57)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #393d40 · 10.96:1
Use #ffffffAAA at every size.
Aa
White text · 10.96:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.92:1
AA fail · AA large fail · AAA fail
Reading the other direction: #393d40 as text scores 10.96:1 on white and 1.92:1 on black.

Accessibility — WCAG contrast

Aa
#393d40 on white: 10.96:1
AA ✓ pass · AA-large · AAA
Aa
#393d40 on black: 1.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3C3D40
deuteranopia · #3B3C40
tritanopia · #373E3E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #393d40 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F7F8
#EFF0F0
#DCDEE0
#C4C7CA
#A6ACB0
#889095
#737B81
#60676C
#4D5256
#393d40
#242728
Base = 900Lightest = 50 · #F7F7F8Darkest = 950 · #242728
:root {
  --brand-50: #F7F7F8;
  --brand-100: #EFF0F0;
  --brand-200: #DCDEE0;
  --brand-300: #C4C7CA;
  --brand-400: #A6ACB0;
  --brand-500: #889095;
  --brand-600: #737B81;
  --brand-700: #60676C;
  --brand-800: #4D5256;
  --brand-900: #393d40;
  --brand-950: #242728;
  --brand: #393d40;
  --brand-ink: #ffffff;
}

Colors that work with #393d40

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F7F8
Tinted page background
Border#D4D7D9
Hairlines and dividers
Muted text#6C7479
Captions on the surface
Accent#423937
Second voice, not a rival
Dark variant#3C4043
Hover, pressed, headers
Light variant#F2F2F3
Selected rows, tints
Dark surface#1A1C1E
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #393d40

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Headers, footers and dark-mode surfaces
  • Neutral UI chrome and typography
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#403C39
Analogous left#39403F
Analogous right#393940
Split-complement 1#403939
Split-complement 2#403F39
Triadic 1#40393D
Triadic 2#3D4039
Tetradic#3F3940

RGB percentages

Red22.4%
Green23.9%
Blue25.1%

CMYK percentages

Cyan10.9%
Magenta4.7%
Yellow0.0%
Key (black)74.9%

Color previews

#393d40 text on a black background

contrast 1.92:1

Card sample

#393d40 text on a white background

contrast 10.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #393d40;
Background color
Panel with #393d40 background
background-color: #393d40;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #393d40;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 61, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 61, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #393d40;
background: linear-gradient(135deg, #393d40, #3A3940);

Monochromatic scale

Palettes built from #393d40

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#393d40 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
EditorialArchitectureEnterpriseLuxury goods
Common UI roles
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#393d40, answered

What color is #393d40?

#393d40 is a deep muted gray, closest to Dark Slate Gray (ΔE2000 12.1). It sits at 206° on the hue wheel with 6% saturation and 24% lightness, which reads as neutral.

What is the RGB value of #393d40?

rgb(57, 61, 64) — 57 red, 61 green and 64 blue out of 255, or 22.4% / 23.9% / 25.1% by channel.

Is #393d40 a light or a dark color?

It is a dark color. Relative luminance is 0.0458 and perceived brightness is 24%, so white text on it reaches 10.96:1.

Should I use black or white text on #393d40?

White. It scores 10.96:1 against #393d40, versus 1.92:1 for black — AAA at any size.

What is the complementary color of #393d40?

#403C39 sits directly opposite on the wheel. Softer options are the split-complements #403939 and #403F39, which give the same contrast with far less vibration.

What colors go well with #393d40?

For interface work: #F7F7F8 as the surface, #D4D7D9 for borders, #6C7479 for secondary text, #423937 as an accent and #3C4043 for hover and pressed states. For a palette, the analogous pair #39403F and #393940 stays calm, while #403C39 is the loudest partner.

What is #393d40 in CMYK for printing?

cmyk(11%, 5%, 0%, 75%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #393d40 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4B4038; nudged cooler, #30373F.

Work with #393d40 in the Color Lab