#0D181B

Closest named color: Rich Black (#0D1B2A). oklch(20% 0.017 216.7), rgb(13, 24, 27).

Aa

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

About this color

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

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

Values

HEX#0D181B
RGBrgb(13, 24, 27)
HSLhsl(193, 35%, 8%)
OKLCHoklch(20% 0.017 216.7)

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 #0D181B 18.04:1 AAA Lc -106.9 Preferred for body text
Black text on #0D181B 1.16:1 Fails Lc 0.0 Not readable
#0D181B text on white 18.04:1 AAA Lc 104.8 Preferred for body text
#0D181B 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E6EBEC

    oklch(93.7% 0.006 211)

  3. Step 200

    200

    #D1DBDE

    oklch(88.5% 0.012 217.6)

  4. Step 300

    300

    #B3C4C9

    oklch(80.9% 0.02 217.3)

  5. Step 400

    400

    #8BA6AE

    oklch(70.7% 0.032 217.6)

  6. Step 500

    500

    #6E909A

    oklch(63.1% 0.041 217.7)

  7. Step 600

    600

    #557A84

    oklch(55.5% 0.044 216.4)

  8. Step 700

    700

    #456770

    oklch(49.1% 0.042 216.1)

  9. Step 800

    800

    #39545B

    oklch(42.7% 0.034 215.7)

  10. Step 900

    900

    #31454B

    oklch(37.6% 0.027 218.3)

  11. Step 950

    950 (this color)

    #0D181B

    oklch(20% 0.017 216.7)

Export this scale for Tailwind in the Tailwind colors tool

#0D181B 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)#16171B0.015
Deuteranopia (no green cones)#14161B0.013
Tritanopia (no blue cones)#0819190.009
Achromatopsia (no color)#1616160.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D181B

    #0D181B

    oklch(20% 0.017 216.7)

  • #1D1311

    #1D1311

    oklch(19.9% 0.017 31.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D181B

    #0D181B

    oklch(20% 0.017 216.7)

  • #0D1917

    #0D1917

    oklch(20.1% 0.018 182.9)

  • #10171D

    #10171D

    oklch(20% 0.016 244.6)

Open the analogous palette in the generator

Split complementary

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

  • #0D181B

    #0D181B

    oklch(20% 0.017 216.7)

  • #1D1315

    #1D1315

    oklch(20.1% 0.017 5.4)

  • #1B150E

    #1B150E

    oklch(20.1% 0.016 71)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D181B

    #0D181B

    oklch(20% 0.017 216.7)

  • #1B1319

    #1B1319

    oklch(20% 0.017 335.3)

  • #18160D

    #18160D

    oklch(19.9% 0.017 97.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D181B

    #0D181B

    oklch(20% 0.017 216.7)

  • #18141C

    #18141C

    oklch(20% 0.017 307.5)

  • #1D1311

    #1D1311

    oklch(19.9% 0.017 31.5)

  • #14170F

    #14170F

    oklch(19.8% 0.016 124.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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