#23271A

Closest named color: Jet (#212529). oklch(26.4% 0.024 121.9), rgb(35, 39, 26).

Aa

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

About this color

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

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

Values

HEX#23271A
RGBrgb(35, 39, 26)
HSLhsl(78, 20%, 13%)
OKLCHoklch(26.4% 0.024 121.9)

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

    #E9EBE5

    oklch(93.7% 0.008 121.6)

  3. Step 200

    200

    #D7DBD0

    oklch(88.5% 0.015 123.1)

  4. Step 300

    300

    #BDC4B0

    oklch(80.9% 0.029 122.8)

  5. Step 400

    400

    #9CA586

    oklch(70.6% 0.045 120.7)

  6. Step 500

    500

    #838F68

    oklch(63% 0.058 121.9)

  7. Step 600

    600

    #6D7950

    oklch(55.5% 0.062 121.7)

  8. Step 700

    700

    #5B6640

    oklch(49.1% 0.059 121.7)

  9. Step 800

    800

    #4A5335

    oklch(42.6% 0.048 122)

  10. Step 900

    900

    #3E452E

    oklch(37.7% 0.038 122)

  11. Step 950

    950 (this color)

    #23271A

    oklch(26.4% 0.024 121.9)

Export this scale for Tailwind in the Tailwind colors tool

#23271A 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)#2925190.012
Deuteranopia (no green cones)#28251B0.012
Tritanopia (no blue cones)#2426240.020
Achromatopsia (no color)#2525250.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #23271A

    #23271A

    oklch(26.4% 0.024 121.9)

  • #27222F

    #27222F

    oklch(26.3% 0.025 302.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23271A

    #23271A

    oklch(26.4% 0.024 121.9)

  • #292518

    #292518

    oklch(26.5% 0.023 93)

  • #1C291F

    #1C291F

    oklch(26.5% 0.026 151.4)

Open the analogous palette in the generator

Split complementary

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

  • #23271A

    #23271A

    oklch(26.4% 0.024 121.9)

  • #212431

    #212431

    oklch(26.3% 0.025 274.5)

  • #2C212A

    #2C212A

    oklch(26.4% 0.023 332.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23271A

    #23271A

    oklch(26.4% 0.024 121.9)

  • #1B2730

    #1B2730

    oklch(26.6% 0.024 241.2)

  • #2F2024

    #2F2024

    oklch(26.3% 0.024 1.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23271A

    #23271A

    oklch(26.4% 0.024 121.9)

  • #17282C

    #17282C

    oklch(26.4% 0.024 214.2)

  • #27222F

    #27222F

    oklch(26.3% 0.025 302.3)

  • #30211E

    #30211E

    oklch(26.5% 0.024 31.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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