#1F151B

Closest named color: Rich Black (#0D1B2A). oklch(21.1% 0.02 342.2), rgb(31, 21, 27).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.77:1

Values

HEX#1F151B
RGBrgb(31, 21, 27)
HSLhsl(324, 19%, 10%)
OKLCHoklch(21.1% 0.02 342.2)

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 #1F151B 17.77:1 AAA Lc -106.8 Preferred for body text
Black text on #1F151B 1.18:1 Fails Lc 0.0 Not readable
#1F151B text on white 17.77:1 AAA Lc 104.5 Preferred for body text
#1F151B text on black 1.18: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

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #E0D6DB

    oklch(88.6% 0.013 345.5)

  4. Step 300

    300

    #CCBBC5

    oklch(80.9% 0.024 341.4)

  5. Step 400

    400

    #B298A7

    oklch(70.7% 0.037 342.5)

  6. Step 500

    500

    #9E7E91

    oklch(62.9% 0.047 342.2)

  7. Step 600

    600

    #89687C

    oklch(55.7% 0.051 341.9)

  8. Step 700

    700

    #745668

    oklch(49% 0.048 342.3)

  9. Step 800

    800

    #5F4655

    oklch(42.6% 0.041 342.3)

  10. Step 900

    900

    #4E3B46

    oklch(37.7% 0.032 343.1)

  11. Step 950

    950 (this color)

    #1F151B

    oklch(21.1% 0.02 342.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F151B 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)#15171B0.021
Deuteranopia (no green cones)#18181B0.017
Tritanopia (no blue cones)#2015170.008
Achromatopsia (no color)#1818180.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F151B

    #1F151B

    oklch(21.1% 0.02 342.2)

  • #101B16

    #101B16

    oklch(21% 0.019 164.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F151B

    #1F151B

    oklch(21.1% 0.02 342.2)

  • #1C161F

    #1C161F

    oklch(21.2% 0.02 314.4)

  • #211516

    #211516

    oklch(21.2% 0.02 13.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F151B

    #1F151B

    oklch(21.1% 0.02 342.2)

  • #151B11

    #151B11

    oklch(21.2% 0.021 133.2)

  • #0D1B1B

    #0D1B1B

    oklch(20.9% 0.019 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F151B

    #1F151B

    oklch(21.1% 0.02 342.2)

  • #1A190E

    #1A190E

    oklch(21.1% 0.02 103.6)

  • #0E1B1F

    #0E1B1F

    oklch(21.2% 0.02 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F151B

    #1F151B

    oklch(21.1% 0.02 342.2)

  • #1E170E

    #1E170E

    oklch(21% 0.02 73.4)

  • #101B16

    #101B16

    oklch(21% 0.019 164.8)

  • #121921

    #121921

    oklch(21% 0.019 252.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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