#181217

Closest named color: Rich Black (#0D1B2A). oklch(19.2% 0.014 331.8), rgb(24, 18, 23).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (19%)
Chromaclose to neutral grey (0.014)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.45:1

Values

HEX#181217
RGBrgb(24, 18, 23)
HSLhsl(310, 14%, 8%)
OKLCHoklch(19.2% 0.014 331.8)

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 #181217 18.45:1 AAA Lc -107.2 Preferred for body text
Black text on #181217 1.13:1 Fails Lc 0.0 Not readable
#181217 text on white 18.45:1 AAA Lc 105.1 Preferred for body text
#181217 text on black 1.13: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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #ECE9EB

    oklch(93.7% 0.004 337.4)

  3. Step 200

    200

    #DDD7DC

    oklch(88.5% 0.009 331)

  4. Step 300

    300

    #C7BDC5

    oklch(80.9% 0.016 332.3)

  5. Step 400

    400

    #AB9BA8

    oklch(70.7% 0.026 332.1)

  6. Step 500

    500

    #968293

    oklch(63% 0.034 330.9)

  7. Step 600

    600

    #806C7D

    oklch(55.6% 0.036 331)

  8. Step 700

    700

    #6D5A69

    oklch(49.2% 0.034 333.4)

  9. Step 800

    800

    #584A56

    oklch(42.8% 0.027 330.8)

  10. Step 900

    900

    #493D47

    oklch(37.6% 0.023 331.6)

  11. Step 950

    950 (this color)

    #181217

    oklch(19.2% 0.014 331.8)

Export this scale for Tailwind in the Tailwind colors tool

#181217 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)#1213170.012
Deuteranopia (no green cones)#1314170.012
Tritanopia (no blue cones)#1912140.006
Achromatopsia (no color)#1414140.014

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 #181217, closest first.

Similar named colors

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

Use #181217 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.