Skip to main content

#2F4A56 Dark Slate Gray

#2F4A56 is Dark Slate Gray.

#2F4A56

Dark Slate Gray

What are the RGB, HSL, OKLCH and CMYK values of #2F4A56?

HEX
#2F4A56
RGB
rgb(47, 74, 86)
HSL
hsl(198, 29%, 26%)
OKLCH
oklch(39.3% 0.038 228)
CMYK
45, 14, 0, 66

#2F4A56 has a contrast ratio of 9.40:1 against white and 2.23: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.1. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #2F4A56
#2F4A56
Same color
White
9.4AAA
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 #2F4A56 · 9.4:1

Tints and shades of #2F4A56

Same hue and chroma in OKLCH, lighter to darker.

  1. #E9F8FF
  2. #BCDBEA
  3. #9EBCCA
  4. #809EAC
  5. #64818E
  6. #496571
  7. #2F4A56
  8. #16313C
  9. #001924

Colors that go with #2F4A56

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. No two swatches become hard to tell apart here.

Export

Copy-paste code, or download the swatches.

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

Palettes, gradients and meshes with #2F4A56

Items using this color or one perceptually close to it, closest first.

Palettes (47)

Harbor Fog

Ink Wash

Tidepool

Salt Marsh

Opal Sky

Arctic Fox

Gradients (5)

Mesh gradients (5)