#1B1317

Closest named color: Rich Black (#0D1B2A). oklch(19.9% 0.015 347), rgb(27, 19, 23).

Aa

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

About this color

#1B1317 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.044 away. White text reads best on it, at 18.22:1.

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

Values

HEX#1B1317
RGBrgb(27, 19, 23)
HSLhsl(330, 17%, 9%)
OKLCHoklch(19.9% 0.015 347)

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 #1B1317 18.22:1 AAA Lc -107.0 Preferred for body text
Black text on #1B1317 1.15:1 Fails Lc 0.0 Not readable
#1B1317 text on white 18.22:1 AAA Lc 104.9 Preferred for body text
#1B1317 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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EA

    oklch(93.5% 0.006 350.8)

  3. Step 200

    200

    #DED7DA

    oklch(88.6% 0.009 349.3)

  4. Step 300

    300

    #CABCC3

    oklch(80.9% 0.018 345.7)

  5. Step 400

    400

    #AF9AA4

    oklch(70.8% 0.028 347.4)

  6. Step 500

    500

    #9B818E

    oklch(63.1% 0.037 346.6)

  7. Step 600

    600

    #856A78

    oklch(55.5% 0.04 345.9)

  8. Step 700

    700

    #715865

    oklch(49% 0.038 346)

  9. Step 800

    800

    #5C4852

    oklch(42.6% 0.031 347)

  10. Step 900

    900

    #4C3D44

    oklch(37.8% 0.024 348.5)

  11. Step 950

    950 (this color)

    #1B1317

    oklch(19.9% 0.015 347)

Export this scale for Tailwind in the Tailwind colors tool

#1B1317 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)#1414170.015
Deuteranopia (no green cones)#1516170.016
Tritanopia (no blue cones)#1C13140.006
Achromatopsia (no color)#1515150.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B1317

    #1B1317

    oklch(19.9% 0.015 347)

  • #0F1814

    #0F1814

    oklch(19.8% 0.016 165.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B1317

    #1B1317

    oklch(19.9% 0.015 347)

  • #19141A

    #19141A

    oklch(20% 0.014 320.6)

  • #1C1313

    #1C1313

    oklch(19.8% 0.015 18.5)

Open the analogous palette in the generator

Split complementary

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

  • #1B1317

    #1B1317

    oklch(19.9% 0.015 347)

  • #131711

    #131711

    oklch(19.8% 0.013 135.2)

  • #0D1818

    #0D1818

    oklch(19.9% 0.016 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B1317

    #1B1317

    oklch(19.9% 0.015 347)

  • #16160E

    #16160E

    oklch(19.7% 0.015 107.7)

  • #0E171B

    #0E171B

    oklch(19.8% 0.016 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B1317

    #1B1317

    oklch(19.9% 0.015 347)

  • #1A150E

    #1A150E

    oklch(19.9% 0.016 76)

  • #0F1814

    #0F1814

    oklch(19.8% 0.016 165.7)

  • #11161D

    #11161D

    oklch(19.8% 0.016 256.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B1317 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.