#171D23

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.015 248.5), rgb(23, 29, 35).

Aa

White text reads best on this color (16.98:1).

About this color

#171D23 is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.023 away. White text reads best on it, at 16.98:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text16.98:1

Values

HEX#171D23
RGBrgb(23, 29, 35)
HSLhsl(210, 21%, 11%)
OKLCHoklch(22.7% 0.015 248.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #171D23 16.98:1 AAA Lc -106.3 Preferred for body text
Black text on #171D23 1.23:1 Fails Lc 0.0 Not readable
#171D23 text on white 16.98:1 AAA Lc 103.9 Preferred for body text
#171D23 text on black 1.23:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAED

    oklch(93.6% 0.005 247.9)

  3. Step 200

    200

    #D4DADF

    oklch(88.5% 0.009 242.9)

  4. Step 300

    300

    #B8C2CC

    oklch(80.9% 0.018 248)

  5. Step 400

    400

    #94A2B2

    oklch(70.6% 0.028 251.7)

  6. Step 500

    500

    #798C9F

    oklch(63.2% 0.036 248.4)

  7. Step 600

    600

    #627689

    oklch(55.7% 0.038 247.2)

  8. Step 700

    700

    #516375

    oklch(49.2% 0.036 248.6)

  9. Step 800

    800

    #42515F

    oklch(42.8% 0.03 246.7)

  10. Step 900

    900

    #38434E

    oklch(37.7% 0.024 248.5)

  11. Step 950

    950 (this color)

    #171D23

    oklch(22.7% 0.015 248.5)

Export this scale for Tailwind in the Tailwind colors tool

#171D23 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1B1D230.007
Deuteranopia (no green cones)#191C230.005
Tritanopia (no blue cones)#141E1F0.011
Achromatopsia (no color)#1C1C1C0.015

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #171D23, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #171D23 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.