#28281C

Closest named color: Jet (#212529). oklch(27.3% 0.021 107.7), rgb(40, 40, 28).

Aa

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

About this color

#28281C is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.021. 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 14.88:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.41:1
White text14.88:1

Values

HEX#28281C
RGBrgb(40, 40, 28)
HSLhsl(60, 18%, 13%)
OKLCHoklch(27.3% 0.021 107.7)

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 #28281C 14.88:1 AAA Lc -104.6 Preferred for body text
Black text on #28281C 1.41:1 Fails Lc 0.0 Not readable
#28281C text on white 14.88:1 AAA Lc 101.8 Preferred for body text
#28281C text on black 1.41: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

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #DADAD0

    oklch(88.6% 0.013 106.7)

  4. Step 300

    300

    #C2C2B0

    oklch(80.9% 0.025 106.9)

  5. Step 400

    400

    #A3A386

    oklch(70.8% 0.041 107.4)

  6. Step 500

    500

    #8C8C68

    oklch(63.1% 0.051 107.8)

  7. Step 600

    600

    #767650

    oklch(55.6% 0.055 108.1)

  8. Step 700

    700

    #636340

    oklch(49% 0.052 108.2)

  9. Step 800

    800

    #515135

    oklch(42.7% 0.043 108.1)

  10. Step 900

    900

    #43432E

    oklch(37.7% 0.034 107.9)

  11. Step 950

    950 (this color)

    #28281C

    oklch(27.3% 0.021 107.7)

Export this scale for Tailwind in the Tailwind colors tool

#28281C 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)#2A271B0.005
Deuteranopia (no green cones)#2A281C0.004
Tritanopia (no blue cones)#2A26250.020
Achromatopsia (no color)#2727270.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #28281C

    #28281C

    oklch(27.3% 0.021 107.7)

  • #262631

    #262631

    oklch(27.3% 0.02 285)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28281C

    #28281C

    oklch(27.3% 0.021 107.7)

  • #2D261B

    #2D261B

    oklch(27.3% 0.022 78.8)

  • #222A20

    #222A20

    oklch(27.4% 0.021 139.4)

Open the analogous palette in the generator

Split complementary

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

  • #28281C

    #28281C

    oklch(27.3% 0.021 107.7)

  • #212832

    #212832

    oklch(27.4% 0.021 257.3)

  • #2C242E

    #2C242E

    oklch(27.4% 0.021 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28281C

    #28281C

    oklch(27.3% 0.021 107.7)

  • #1C292F

    #1C292F

    oklch(27.2% 0.021 228.1)

  • #2F2329

    #2F2329

    oklch(27.3% 0.021 347)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28281C

    #28281C

    oklch(27.3% 0.021 107.7)

  • #1B2A2B

    #1B2A2B

    oklch(27.2% 0.02 201.2)

  • #262631

    #262631

    oklch(27.3% 0.02 285)

  • #312323

    #312323

    oklch(27.3% 0.022 18.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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