#0D171E

Closest named color: Rich Black (#0D1B2A). oklch(19.8% 0.02 239.6), rgb(13, 23, 30).

Aa

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

About this color

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

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

Values

HEX#0D171E
RGBrgb(13, 23, 30)
HSLhsl(205, 40%, 8%)
OKLCHoklch(19.8% 0.02 239.6)

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 #0D171E 18.12:1 AAA Lc -107.0 Preferred for body text
Black text on #0D171E 1.15:1 Fails Lc 0.0 Not readable
#0D171E text on white 18.12:1 AAA Lc 104.8 Preferred for body text
#0D171E text on black 1.15: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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E6EBEE

    oklch(93.7% 0.007 233.6)

  3. Step 200

    200

    #D2DBE1

    oklch(88.6% 0.013 236.6)

  4. Step 300

    300

    #B3C3CF

    oklch(80.9% 0.024 240.2)

  5. Step 400

    400

    #8BA4B7

    oklch(70.6% 0.039 240.9)

  6. Step 500

    500

    #6E8EA5

    oklch(63.1% 0.05 239.8)

  7. Step 600

    600

    #567890

    oklch(55.6% 0.054 239.7)

  8. Step 700

    700

    #46657A

    oklch(49.1% 0.05 238.7)

  9. Step 800

    800

    #3A5263

    oklch(42.6% 0.041 239.8)

  10. Step 900

    900

    #324451

    oklch(37.7% 0.032 240.1)

  11. Step 950

    950 (this color)

    #0D171E

    oklch(19.8% 0.02 239.6)

Export this scale for Tailwind in the Tailwind colors tool

#0D171E 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)#14171E0.012
Deuteranopia (no green cones)#12151E0.011
Tritanopia (no blue cones)#0719190.017
Achromatopsia (no color)#1616160.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D171E

    #0D171E

    oklch(19.8% 0.02 239.6)

  • #1D140C

    #1D140C

    oklch(20% 0.021 62.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D171E

    #0D171E

    oklch(19.8% 0.02 239.6)

  • #0A181B

    #0A181B

    oklch(19.8% 0.02 212.9)

  • #12151F

    #12151F

    oklch(19.8% 0.021 271.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0D171E

    #0D171E

    oklch(19.8% 0.02 239.6)

  • #1E1210

    #1E1210

    oklch(19.8% 0.021 29.6)

  • #19150B

    #19150B

    oklch(19.7% 0.02 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D171E

    #0D171E

    oklch(19.8% 0.02 239.6)

  • #1D1215

    #1D1215

    oklch(19.8% 0.019 1)

  • #14170D

    #14170D

    oklch(19.8% 0.02 121.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D171E

    #0D171E

    oklch(19.8% 0.02 239.6)

  • #1B121A

    #1B121A

    oklch(19.7% 0.021 330.1)

  • #1D140C

    #1D140C

    oklch(20% 0.021 62.8)

  • #0F1811

    #0F1811

    oklch(19.7% 0.019 151.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0D171E 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.