#0D171D

Closest named color: Rich Black (#0D1B2A). oklch(19.8% 0.019 235.4), rgb(13, 23, 29).

Aa

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

About this color

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

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

Values

HEX#0D171D
RGBrgb(13, 23, 29)
HSLhsl(203, 38%, 8%)
OKLCHoklch(19.8% 0.019 235.4)

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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EBEE

    oklch(93.7% 0.007 233.6)

  3. Step 200

    200

    #D2DBE0

    oklch(88.6% 0.012 231.7)

  4. Step 300

    300

    #B3C3CD

    oklch(80.8% 0.023 235.1)

  5. Step 400

    400

    #8CA5B4

    oklch(70.8% 0.035 234.3)

  6. Step 500

    500

    #6F8EA2

    oklch(63% 0.046 236.8)

  7. Step 600

    600

    #57788D

    oklch(55.6% 0.05 236.8)

  8. Step 700

    700

    #476578

    oklch(49.1% 0.047 236.8)

  9. Step 800

    800

    #3A5361

    oklch(42.8% 0.038 233.4)

  10. Step 900

    900

    #32444F

    oklch(37.6% 0.03 235.4)

  11. Step 950

    950 (this color)

    #0D171D

    oklch(19.8% 0.019 235.4)

Export this scale for Tailwind in the Tailwind colors tool

#0D171D 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)#14171D0.012
Deuteranopia (no green cones)#12151D0.011
Tritanopia (no blue cones)#0719190.015
Achromatopsia (no color)#1616160.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D171D

    #0D171D

    oklch(19.8% 0.019 235.4)

  • #1C130D

    #1C130D

    oklch(19.6% 0.019 55)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D171D

    #0D171D

    oklch(19.8% 0.019 235.4)

  • #0B181A

    #0B181A

    oklch(19.8% 0.019 208.1)

  • #11151E

    #11151E

    oklch(19.6% 0.019 266)

Open the analogous palette in the generator

Split complementary

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

  • #0D171D

    #0D171D

    oklch(19.8% 0.019 235.4)

  • #1D1211

    #1D1211

    oklch(19.6% 0.019 24.8)

  • #19150C

    #19150C

    oklch(19.8% 0.018 86.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D171D

    #0D171D

    oklch(19.8% 0.019 235.4)

  • #1D1216

    #1D1216

    oklch(19.8% 0.02 355.4)

  • #15170D

    #15170D

    oklch(19.9% 0.019 117.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D171D

    #0D171D

    oklch(19.8% 0.019 235.4)

  • #1A131A

    #1A131A

    oklch(19.9% 0.018 326.2)

  • #1C130D

    #1C130D

    oklch(19.6% 0.019 55)

  • #101810

    #101810

    oklch(19.8% 0.02 144.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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