#1F1E1B

Closest named color: Jet (#212529). oklch(23.5% 0.006 91.6), rgb(31, 30, 27).

Aa

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

About this color

#1F1E1B is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.006. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.031 away. White text reads best on it, at 16.66:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.006)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.25:1
White text16.66:1

Values

HEX#1F1E1B
RGBrgb(31, 30, 27)
HSLhsl(45, 7%, 11%)
OKLCHoklch(23.5% 0.006 91.6)

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 #1F1E1B 16.66:1 AAA Lc -106.0 Preferred for body text
Black text on #1F1E1B 1.25:1 Fails Lc 0.0 Not readable
#1F1E1B text on white 16.66:1 AAA Lc 103.6 Preferred for body text
#1F1E1B text on black 1.25: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

    #F6F5F5

    oklch(97.1% 0.001 17.2)

  2. Step 100

    100

    #EAEAE8

    oklch(93.6% 0.003 106.5)

  3. Step 200

    200

    #DAD9D6

    oklch(88.5% 0.004 91.5)

  4. Step 300

    300

    #C2C0BC

    oklch(80.8% 0.006 84.6)

  5. Step 400

    400

    #A3A099

    oklch(70.6% 0.011 87.5)

  6. Step 500

    500

    #8C8980

    oklch(63% 0.014 91.6)

  7. Step 600

    600

    #767369

    oklch(55.5% 0.016 93.1)

  8. Step 700

    700

    #646158

    oklch(49.3% 0.015 91.6)

  9. Step 800

    800

    #514F48

    oklch(42.7% 0.012 93.7)

  10. Step 900

    900

    #43413C

    oklch(37.6% 0.009 88.7)

  11. Step 950

    950 (this color)

    #1F1E1B

    oklch(23.5% 0.006 91.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F1E1B 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)#1F1E1B0.000
Deuteranopia (no green cones)#1F1E1B0.000
Tritanopia (no blue cones)#201D1D0.006
Achromatopsia (no color)#1E1E1E0.006

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

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