#24271B

Closest named color: Jet (#212529). oklch(26.6% 0.022 119.3), rgb(36, 39, 27).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.20:1

Values

HEX#24271B
RGBrgb(36, 39, 27)
HSLhsl(75, 18%, 13%)
OKLCHoklch(26.6% 0.022 119.3)

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 #24271B 15.20:1 AAA Lc -104.9 Preferred for body text
Black text on #24271B 1.38:1 Fails Lc 0.0 Not readable
#24271B text on white 15.20:1 AAA Lc 102.1 Preferred for body text
#24271B text on black 1.38: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

    #D8DBD0

    oklch(88.6% 0.015 119.1)

  4. Step 300

    300

    #BEC3B1

    oklch(80.8% 0.025 119.6)

  5. Step 400

    400

    #9DA588

    oklch(70.8% 0.042 120)

  6. Step 500

    500

    #858E6A

    oklch(63% 0.053 119.3)

  7. Step 600

    600

    #6F7852

    oklch(55.5% 0.057 119.1)

  8. Step 700

    700

    #5D6542

    oklch(49% 0.054 118.9)

  9. Step 800

    800

    #4C5337

    oklch(42.8% 0.045 119.7)

  10. Step 900

    900

    #3F4430

    oklch(37.6% 0.033 119.4)

  11. Step 950

    950 (this color)

    #24271B

    oklch(26.6% 0.022 119.3)

Export this scale for Tailwind in the Tailwind colors tool

#24271B 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)#29261A0.009
Deuteranopia (no green cones)#28261B0.008
Tritanopia (no blue cones)#2526240.018
Achromatopsia (no color)#2626260.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #24271B

    #24271B

    oklch(26.6% 0.022 119.3)

  • #27232F

    #27232F

    oklch(26.6% 0.023 300.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24271B

    #24271B

    oklch(26.6% 0.022 119.3)

  • #2A2519

    #2A2519

    oklch(26.6% 0.022 88)

  • #1E2820

    #1E2820

    oklch(26.4% 0.02 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #24271B

    #24271B

    oklch(26.6% 0.022 119.3)

  • #212530

    #212530

    oklch(26.5% 0.021 269.3)

  • #2C222B

    #2C222B

    oklch(26.7% 0.022 329.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24271B

    #24271B

    oklch(26.6% 0.022 119.3)

  • #1C272F

    #1C272F

    oklch(26.6% 0.021 240.2)

  • #2F2125

    #2F2125

    oklch(26.6% 0.023 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24271B

    #24271B

    oklch(26.6% 0.022 119.3)

  • #19282B

    #19282B

    oklch(26.5% 0.021 211.4)

  • #27232F

    #27232F

    oklch(26.6% 0.023 300.1)

  • #2F211F

    #2F211F

    oklch(26.4% 0.022 27.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #24271B 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.