#10171C

Closest named color: Rich Black (#0D1B2A). oklch(20% 0.015 239.5), rgb(16, 23, 28).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.08:1

Values

HEX#10171C
RGBrgb(16, 23, 28)
HSLhsl(205, 27%, 9%)
OKLCHoklch(20% 0.015 239.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 #10171C 18.08:1 AAA Lc -106.9 Preferred for body text
Black text on #10171C 1.16:1 Fails Lc 0.0 Not readable
#10171C text on white 18.08:1 AAA Lc 104.8 Preferred for body text
#10171C text on black 1.16: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  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

    #B7C2CB

    oklch(80.8% 0.018 242.5)

  5. Step 400

    400

    #92A3B0

    oklch(70.6% 0.027 240.8)

  6. Step 500

    500

    #778D9D

    oklch(63.2% 0.035 239.7)

  7. Step 600

    600

    #5F7788

    oklch(55.6% 0.039 239.2)

  8. Step 700

    700

    #4E6473

    oklch(49.1% 0.036 238.3)

  9. Step 800

    800

    #40515E

    oklch(42.6% 0.03 241.4)

  10. Step 900

    900

    #37434D

    oklch(37.6% 0.023 243.5)

  11. Step 950

    950 (this color)

    #10171C

    oklch(20% 0.015 239.5)

Export this scale for Tailwind in the Tailwind colors tool

#10171C 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)#15171C0.009
Deuteranopia (no green cones)#13161C0.006
Tritanopia (no blue cones)#0C18190.011
Achromatopsia (no color)#1616160.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 #10171C, closest first.

Similar named colors

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

Use #10171C 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.