Skip to main content

#1F4E50 Dark Slate Gray

#1F4E50 is Dark Slate Gray.

#1F4E50

Dark Slate Gray

What are the RGB, HSL, OKLCH and CMYK values of #1F4E50?

HEX
#1F4E50
RGB
rgb(31, 78, 80)
HSL
hsl(182, 44%, 22%)
OKLCH
oklch(39.3% 0.051 199)
CMYK
61, 2, 0, 69

#1F4E50 has a contrast ratio of 9.28:1 against white and 2.26:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #1F4E50
#1F4E50
Same color
White
9.3AAA
Near-black
1.9Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #1F4E50 · 9.3:1

Tints and shades of #1F4E50

Same hue and chroma in OKLCH, lighter to darker.

  1. #D8FEFF
  2. #AFE0E2
  3. #91C1C3
  4. #73A3A5
  5. #578587
  6. #3B696B
  7. #1F4E50
  8. #003436
  9. #001B1C

Colors that go with #1F4E50

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Dark Slate Gray, #1F4E50 and Black Olive, #1A421B; Charcoal Blue, #2A496D and Dark Slate Blue, #39368B become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --dark-slate-gray-1: #1F4E50; /* Dark Slate Gray */
}

Palettes, gradients and meshes with #1F4E50

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).