#0D171A

Closest named color: Rich Navy (#001219). oklch(19.6% 0.016 218.4), rgb(13, 23, 26).

Aa

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

About this color

#0D171A is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.032 away. White text reads best on it, at 18.18:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.15:1
White text18.18:1

Values

HEX#0D171A
RGBrgb(13, 23, 26)
HSLhsl(194, 33%, 8%)
OKLCHoklch(19.6% 0.016 218.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 #0D171A 18.18:1 AAA Lc -107.0 Preferred for body text
Black text on #0D171A 1.15:1 Fails Lc 0.0 Not readable
#0D171A text on white 18.18:1 AAA Lc 104.9 Preferred for body text
#0D171A 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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E6EBEC

    oklch(93.7% 0.006 211)

  3. Step 200

    200

    #D2DBDE

    oklch(88.5% 0.011 219.6)

  4. Step 300

    300

    #B4C4C9

    oklch(81% 0.019 218.4)

  5. Step 400

    400

    #8DA5AD

    oklch(70.6% 0.029 219.9)

  6. Step 500

    500

    #708F99

    oklch(63% 0.038 219.5)

  7. Step 600

    600

    #587A84

    oklch(55.7% 0.042 217.9)

  8. Step 700

    700

    #486670

    oklch(49.1% 0.038 220.6)

  9. Step 800

    800

    #3B535B

    oklch(42.6% 0.032 220.5)

  10. Step 900

    900

    #33454B

    oklch(37.7% 0.025 220.3)

  11. Step 950

    950 (this color)

    #0D171A

    oklch(19.6% 0.016 218.4)

Export this scale for Tailwind in the Tailwind colors tool

#0D171A 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)#15161A0.014
Deuteranopia (no green cones)#13151A0.012
Tritanopia (no blue cones)#0818180.010
Achromatopsia (no color)#1515150.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D171A

    #0D171A

    oklch(19.6% 0.016 218.4)

  • #1C1310

    #1C1310

    oklch(19.7% 0.016 39.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D171A

    #0D171A

    oklch(19.6% 0.016 218.4)

  • #0D1817

    #0D1817

    oklch(19.8% 0.016 188.8)

  • #10161C

    #10161C

    oklch(19.7% 0.015 248.6)

Open the analogous palette in the generator

Split complementary

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

  • #0D171A

    #0D171A

    oklch(19.6% 0.016 218.4)

  • #1C1214

    #1C1214

    oklch(19.6% 0.017 5.5)

  • #1A140E

    #1A140E

    oklch(19.7% 0.015 66.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D171A

    #0D171A

    oklch(19.6% 0.016 218.4)

  • #1A1218

    #1A1218

    oklch(19.5% 0.017 335.3)

  • #17150D

    #17150D

    oklch(19.5% 0.016 95.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D171A

    #0D171A

    oklch(19.6% 0.016 218.4)

  • #17131B

    #17131B

    oklch(19.5% 0.017 307.5)

  • #1C1310

    #1C1310

    oklch(19.7% 0.016 39.2)

  • #13170F

    #13170F

    oklch(19.7% 0.017 129.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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