Skip to main content

#020617 Rich Black

The nearest named color to #020617 is Rich Black (#050304).

#020617

Rich Black

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

HEX
#020617
RGB
rgb(2, 6, 23)
HSL
hsl(229, 84%, 5%)
OKLCH
oklch(12.9% 0.041 265)
CMYK
91, 74, 0, 91

#020617 has a contrast ratio of 20.17:1 against white and 1.04: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 → #020617
#020617
Same color
White
20.2AAA
Near-black
1.2Fail

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 #020617 · 20.2:1

Tints and shades of #020617

Same hue and chroma in OKLCH, lighter to darker.

  1. #F0F5FF
  2. #C8D6F1
  3. #AAB7D1
  4. #8C99B3
  5. #707C95
  6. #556078
  7. #3B465C
  8. #232D41
  9. #020617

Colors that go with #020617

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. Midnight, #1F0754 and Deep Purple, #510962; Prussian Blue, #073D54 and Deep Purple, #510962 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --rich-black-1: #020617; /* Rich Black */
}

Palettes, gradients and meshes with #020617

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

Palettes (15)

Gradients (1)

Mesh gradients (5)