#2E271A

Closest named color: Jet (#212529). oklch(27.7% 0.025 82.7), rgb(46, 39, 26).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.42:1
White text14.77:1

Values

HEX#2E271A
RGBrgb(46, 39, 26)
HSLhsl(39, 28%, 14%)
OKLCHoklch(27.7% 0.025 82.7)

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 #2E271A 14.77:1 AAA Lc -104.4 Preferred for body text
Black text on #2E271A 1.42:1 Fails Lc 0.0 Not readable
#2E271A text on white 14.77:1 AAA Lc 101.6 Preferred for body text
#2E271A text on black 1.42: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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E4

    oklch(93.6% 0.008 73.7)

  3. Step 200

    200

    #DED8CD

    oklch(88.4% 0.016 82.8)

  4. Step 300

    300

    #CABFAC

    oklch(80.9% 0.029 81.5)

  5. Step 400

    400

    #AF9E80

    oklch(70.6% 0.046 81.8)

  6. Step 500

    500

    #9B8660

    oklch(63% 0.059 82)

  7. Step 600

    600

    #867046

    oklch(55.6% 0.065 82.8)

  8. Step 700

    700

    #725E37

    oklch(49.2% 0.061 83.1)

  9. Step 800

    800

    #5C4D2E

    oklch(42.8% 0.05 84.6)

  10. Step 900

    900

    #4C4029

    oklch(37.8% 0.04 83.1)

  11. Step 950

    950 (this color)

    #2E271A

    oklch(27.7% 0.025 82.7)

Export this scale for Tailwind in the Tailwind colors tool

#2E271A 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)#2A27190.008
Deuteranopia (no green cones)#2C291A0.008
Tritanopia (no blue cones)#3125240.022
Achromatopsia (no color)#2828280.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E271A

    #2E271A

    oklch(27.7% 0.025 82.7)

  • #222834

    #222834

    oklch(27.6% 0.024 264.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E271A

    #2E271A

    oklch(27.7% 0.025 82.7)

  • #32251D

    #32251D

    oklch(27.7% 0.024 53)

  • #28291B

    #28291B

    oklch(27.5% 0.024 111.3)

Open the analogous palette in the generator

Split complementary

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

  • #2E271A

    #2E271A

    oklch(27.7% 0.025 82.7)

  • #1C2A32

    #1C2A32

    oklch(27.6% 0.024 233.8)

  • #282633

    #282633

    oklch(27.6% 0.024 291.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E271A

    #2E271A

    oklch(27.7% 0.025 82.7)

  • #192C2D

    #192C2D

    oklch(27.7% 0.025 200.1)

  • #2E242F

    #2E242F

    oklch(27.6% 0.024 323.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E271A

    #2E271A

    oklch(27.7% 0.025 82.7)

  • #1B2C27

    #1B2C27

    oklch(27.6% 0.024 174.1)

  • #222834

    #222834

    oklch(27.6% 0.024 264.1)

  • #322329

    #322329

    oklch(27.6% 0.025 353)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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