#23271C

Closest named color: Jet (#212529). oklch(26.5% 0.021 124), rgb(35, 39, 28).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.23:1

Values

HEX#23271C
RGBrgb(35, 39, 28)
HSLhsl(82, 16%, 13%)
OKLCHoklch(26.5% 0.021 124)

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 #23271C 15.23:1 AAA Lc -104.9 Preferred for body text
Black text on #23271C 1.37:1 Fails Lc 0.0 Not readable
#23271C text on white 15.23:1 AAA Lc 102.1 Preferred for body text
#23271C text on black 1.37: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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE6

    oklch(93.7% 0.007 124.5)

  3. Step 200

    200

    #D7DBD1

    oklch(88.6% 0.014 124.6)

  4. Step 300

    300

    #BDC4B3

    oklch(81% 0.025 125.3)

  5. Step 400

    400

    #9BA58B

    oklch(70.7% 0.039 124.5)

  6. Step 500

    500

    #838F6E

    oklch(63.1% 0.05 124)

  7. Step 600

    600

    #6C7956

    oklch(55.6% 0.054 124.7)

  8. Step 700

    700

    #5B6646

    oklch(49.2% 0.05 123.6)

  9. Step 800

    800

    #4A533A

    oklch(42.7% 0.041 124.2)

  10. Step 900

    900

    #3E4532

    oklch(37.8% 0.032 124.4)

  11. Step 950

    950 (this color)

    #23271C

    oklch(26.5% 0.021 124)

Export this scale for Tailwind in the Tailwind colors tool

#23271C 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)#28261B0.009
Deuteranopia (no green cones)#28251C0.011
Tritanopia (no blue cones)#2426240.016
Achromatopsia (no color)#2525250.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #23271C

    #23271C

    oklch(26.5% 0.021 124)

  • #27232D

    #27232D

    oklch(26.5% 0.019 303.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23271C

    #23271C

    oklch(26.5% 0.021 124)

  • #28251A

    #28251A

    oklch(26.4% 0.02 94.6)

  • #1E2821

    #1E2821

    oklch(26.5% 0.019 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #23271C

    #23271C

    oklch(26.5% 0.021 124)

  • #22252F

    #22252F

    oklch(26.6% 0.019 272)

  • #2C2229

    #2C2229

    oklch(26.6% 0.02 337.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23271C

    #23271C

    oklch(26.5% 0.021 124)

  • #1D262F

    #1D262F

    oklch(26.4% 0.021 248.6)

  • #2E2124

    #2E2124

    oklch(26.4% 0.021 3.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23271C

    #23271C

    oklch(26.5% 0.021 124)

  • #19282B

    #19282B

    oklch(26.5% 0.021 211.4)

  • #27232D

    #27232D

    oklch(26.5% 0.019 303.3)

  • #2E221F

    #2E221F

    oklch(26.5% 0.019 34.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #23271C 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.