#1F2E22

Closest named color: Jet (#212529). oklch(28.3% 0.03 150.3), rgb(31, 46, 34).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.47:1
White text14.26:1

Values

HEX#1F2E22
RGBrgb(31, 46, 34)
HSLhsl(132, 19%, 15%)
OKLCHoklch(28.3% 0.03 150.3)

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 #1F2E22 14.26:1 AAA Lc -103.9 Preferred for body text
Black text on #1F2E22 1.47:1 Fails Lc 0.0 Not readable
#1F2E22 text on white 14.26:1 AAA Lc 101.0 Preferred for body text
#1F2E22 text on black 1.47: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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD2

    oklch(88.5% 0.02 150.1)

  4. Step 300

    300

    #B1C7B5

    oklch(80.8% 0.035 150.7)

  5. Step 400

    400

    #88AB8E

    oklch(70.7% 0.057 149.8)

  6. Step 500

    500

    #699673

    oklch(63.1% 0.072 150.8)

  7. Step 600

    600

    #50805B

    oklch(55.5% 0.078 150.5)

  8. Step 700

    700

    #416C4B

    oklch(49% 0.071 150.5)

  9. Step 800

    800

    #36583D

    oklch(42.6% 0.06 149.8)

  10. Step 900

    900

    #2F4934

    oklch(37.8% 0.048 149.7)

  11. Step 950

    950 (this color)

    #1F2E22

    oklch(28.3% 0.03 150.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F2E22 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)#2E2B210.026
Deuteranopia (no green cones)#2C2A230.025
Tritanopia (no blue cones)#1D2D2B0.018
Achromatopsia (no color)#2A2A2A0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2E22

    #1F2E22

    oklch(28.3% 0.03 150.3)

  • #322431

    #322431

    oklch(28.2% 0.031 328.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2E22

    #1F2E22

    oklch(28.3% 0.03 150.3)

  • #282C1B

    #282C1B

    oklch(28.4% 0.03 119.1)

  • #182F2A

    #182F2A

    oklch(28.4% 0.031 178.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F2E22

    #1F2E22

    oklch(28.3% 0.03 150.3)

  • #2C2636

    #2C2636

    oklch(28.2% 0.03 301.7)

  • #362429

    #362429

    oklch(28.4% 0.029 0.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2E22

    #1F2E22

    oklch(28.3% 0.03 150.3)

  • #242939

    #242939

    oklch(28.3% 0.03 270.9)

  • #372421

    #372421

    oklch(28.3% 0.03 29.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2E22

    #1F2E22

    oklch(28.3% 0.03 150.3)

  • #1C2C37

    #1C2C37

    oklch(28.4% 0.029 239.2)

  • #322431

    #322431

    oklch(28.2% 0.031 328.7)

  • #35261B

    #35261B

    oklch(28.3% 0.03 57.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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