#2E1F17

Closest named color: Dark Brown (#341C02). oklch(25.5% 0.028 49.1), rgb(46, 31, 23).

Aa

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

About this color

#2E1F17 is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.028 away. White text reads best on it, at 15.85:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.32:1
White text15.85:1

Values

HEX#2E1F17
RGBrgb(46, 31, 23)
HSLhsl(21, 33%, 14%)
OKLCHoklch(25.5% 0.028 49.1)

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 #2E1F17 15.85:1 AAA Lc -105.4 Preferred for body text
Black text on #2E1F17 1.32:1 Fails Lc 0.0 Not readable
#2E1F17 text on white 15.85:1 AAA Lc 102.8 Preferred for body text
#2E1F17 text on black 1.32: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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E4D6CF

    oklch(88.5% 0.018 48.5)

  4. Step 300

    300

    #D3BBAE

    oklch(80.9% 0.033 50.3)

  5. Step 400

    400

    #BC9884

    oklch(70.7% 0.052 50.6)

  6. Step 500

    500

    #AB7E65

    oklch(63.1% 0.067 50.2)

  7. Step 600

    600

    #96664D

    oklch(55.5% 0.072 48.3)

  8. Step 700

    700

    #80553E

    oklch(49.1% 0.067 48.8)

  9. Step 800

    800

    #684633

    oklch(42.7% 0.056 49.9)

  10. Step 900

    900

    #553B2D

    oklch(37.8% 0.044 49.3)

  11. Step 950

    950 (this color)

    #2E1F17

    oklch(25.5% 0.028 49.1)

Export this scale for Tailwind in the Tailwind colors tool

#2E1F17 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)#2320160.023
Deuteranopia (no green cones)#2724170.021
Tritanopia (no blue cones)#321C1D0.019
Achromatopsia (no color)#2222220.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1F17

    #2E1F17

    oklch(25.5% 0.028 49.1)

  • #14262E

    #14262E

    oklch(25.7% 0.028 228.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1F17

    #2E1F17

    oklch(25.5% 0.028 49.1)

  • #2F1E1E

    #2F1E1E

    oklch(25.7% 0.027 19.1)

  • #2A2113

    #2A2113

    oklch(25.4% 0.028 78)

Open the analogous palette in the generator

Split complementary

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

  • #2E1F17

    #2E1F17

    oklch(25.5% 0.028 49.1)

  • #112728

    #112728

    oklch(25.5% 0.028 199.4)

  • #1B2330

    #1B2330

    oklch(25.5% 0.027 260)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1F17

    #2E1F17

    oklch(25.5% 0.028 49.1)

  • #152721

    #152721

    oklch(25.5% 0.027 171)

  • #222130

    #222130

    oklch(25.6% 0.028 287.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1F17

    #2E1F17

    oklch(25.5% 0.028 49.1)

  • #1C2619

    #1C2619

    oklch(25.5% 0.028 138.6)

  • #14262E

    #14262E

    oklch(25.7% 0.028 228.1)

  • #291F2B

    #291F2B

    oklch(25.6% 0.026 320.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2E1F17 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.