#28291F

Closest named color: Jet (#212529). oklch(27.7% 0.018 112.2), rgb(40, 41, 31).

Aa

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

About this color

#28291F is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.018. 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 14.71:1.

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

Values

HEX#28291F
RGBrgb(40, 41, 31)
HSLhsl(66, 14%, 14%)
OKLCHoklch(27.7% 0.018 112.2)

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 #28291F 14.71:1 AAA Lc -104.4 Preferred for body text
Black text on #28291F 1.42:1 Fails Lc 0.0 Not readable
#28291F text on white 14.71:1 AAA Lc 101.6 Preferred for body text
#28291F 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #D9DAD1

    oklch(88.5% 0.012 111.8)

  4. Step 300

    300

    #C0C2B3

    oklch(80.8% 0.021 113)

  5. Step 400

    400

    #A1A38B

    oklch(70.7% 0.034 111.1)

  6. Step 500

    500

    #8A8C6F

    oklch(63% 0.042 110.8)

  7. Step 600

    600

    #737657

    oklch(55.5% 0.046 112.4)

  8. Step 700

    700

    #616347

    oklch(49% 0.042 111.3)

  9. Step 800

    800

    #4F513A

    oklch(42.6% 0.036 112)

  10. Step 900

    900

    #424332

    oklch(37.7% 0.028 110.4)

  11. Step 950

    950 (this color)

    #28291F

    oklch(27.7% 0.018 112.2)

Export this scale for Tailwind in the Tailwind colors tool

#28291F 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)#2B281E0.006
Deuteranopia (no green cones)#2B281F0.006
Tritanopia (no blue cones)#2928260.014
Achromatopsia (no color)#2828280.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #28291F

    #28291F

    oklch(27.7% 0.018 112.2)

  • #282730

    #282730

    oklch(27.8% 0.016 290.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28291F

    #28291F

    oklch(27.7% 0.018 112.2)

  • #2C271E

    #2C271E

    oklch(27.5% 0.018 82.2)

  • #232A22

    #232A22

    oklch(27.5% 0.018 141.7)

Open the analogous palette in the generator

Split complementary

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

  • #28291F

    #28291F

    oklch(27.7% 0.018 112.2)

  • #232831

    #232831

    oklch(27.6% 0.018 262.2)

  • #2C252D

    #2C252D

    oklch(27.6% 0.018 322)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28291F

    #28291F

    oklch(27.7% 0.018 112.2)

  • #1F2A2F

    #1F2A2F

    oklch(27.7% 0.018 227.4)

  • #2F2529

    #2F2529

    oklch(27.7% 0.017 352.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28291F

    #28291F

    oklch(27.7% 0.018 112.2)

  • #1E2B2C

    #1E2B2C

    oklch(27.8% 0.018 202.1)

  • #282730

    #282730

    oklch(27.8% 0.016 290.4)

  • #302524

    #302524

    oklch(27.7% 0.017 24.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28291F 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.