#23271D

Closest named color: Jet (#212529). oklch(26.5% 0.019 125.4), rgb(35, 39, 29).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.22:1

Values

HEX#23271D
RGBrgb(35, 39, 29)
HSLhsl(84, 15%, 13%)
OKLCHoklch(26.5% 0.019 125.4)

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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EBE6

    oklch(93.7% 0.007 124.5)

  3. Step 200

    200

    #D7DBD2

    oklch(88.6% 0.013 126.4)

  4. Step 300

    300

    #BDC3B4

    oklch(80.8% 0.022 124.7)

  5. Step 400

    400

    #9BA58D

    oklch(70.7% 0.036 125.8)

  6. Step 500

    500

    #838F71

    oklch(63.2% 0.046 125.4)

  7. Step 600

    600

    #6C7959

    oklch(55.6% 0.05 125.9)

  8. Step 700

    700

    #5A6649

    oklch(49.2% 0.047 126.3)

  9. Step 800

    800

    #4A533C

    oklch(42.7% 0.038 125.3)

  10. Step 900

    900

    #3E4533

    oklch(37.8% 0.031 125.1)

  11. Step 950

    950 (this color)

    #23271D

    oklch(26.5% 0.019 125.4)

Export this scale for Tailwind in the Tailwind colors tool

#23271D 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)#28261C0.009
Deuteranopia (no green cones)#28251D0.011
Tritanopia (no blue cones)#2426240.015
Achromatopsia (no color)#2626260.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #23271D

    #23271D

    oklch(26.5% 0.019 125.4)

  • #27232D

    #27232D

    oklch(26.5% 0.019 303.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23271D

    #23271D

    oklch(26.5% 0.019 125.4)

  • #28251B

    #28251B

    oklch(26.4% 0.018 93.3)

  • #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°).

  • #23271D

    #23271D

    oklch(26.5% 0.019 125.4)

  • #22252F

    #22252F

    oklch(26.6% 0.019 272)

  • #2B2229

    #2B2229

    oklch(26.5% 0.018 333.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23271D

    #23271D

    oklch(26.5% 0.019 125.4)

  • #1E262E

    #1E262E

    oklch(26.4% 0.019 248.5)

  • #2E2224

    #2E2224

    oklch(26.7% 0.019 7.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23271D

    #23271D

    oklch(26.5% 0.019 125.4)

  • #1B282B

    #1B282B

    oklch(26.6% 0.019 213.5)

  • #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 #23271D, closest first.

Similar named colors

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

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