#28281B

Closest named color: Jet (#212529). oklch(27.3% 0.023 107.8), rgb(40, 40, 27).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.40:1
White text14.89:1

Values

HEX#28281B
RGBrgb(40, 40, 27)
HSLhsl(60, 19%, 13%)
OKLCHoklch(27.3% 0.023 107.8)

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

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACF

    oklch(88.5% 0.015 106.7)

  4. Step 300

    300

    #C2C2AF

    oklch(80.9% 0.026 107)

  5. Step 400

    400

    #A3A384

    oklch(70.7% 0.043 107.5)

  6. Step 500

    500

    #8C8C65

    oklch(63% 0.055 107.9)

  7. Step 600

    600

    #76764C

    oklch(55.5% 0.06 108.2)

  8. Step 700

    700

    #64633D

    oklch(49.1% 0.056 107)

  9. Step 800

    800

    #515133

    oklch(42.7% 0.046 108.2)

  10. Step 900

    900

    #43432D

    oklch(37.6% 0.035 108)

  11. Step 950

    950 (this color)

    #28281B

    oklch(27.3% 0.023 107.8)

Export this scale for Tailwind in the Tailwind colors tool

#28281B 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)#2A271A0.005
Deuteranopia (no green cones)#2A271B0.005
Tritanopia (no blue cones)#2A26250.022
Achromatopsia (no color)#2727270.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #28281B

    #28281B

    oklch(27.3% 0.023 107.8)

  • #262532

    #262532

    oklch(27.1% 0.024 288.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28281B

    #28281B

    oklch(27.3% 0.023 107.8)

  • #2D261A

    #2D261A

    oklch(27.3% 0.023 80.9)

  • #222A1F

    #222A1F

    oklch(27.3% 0.023 137.2)

Open the analogous palette in the generator

Split complementary

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

  • #28281B

    #28281B

    oklch(27.3% 0.023 107.8)

  • #202832

    #202832

    oklch(27.4% 0.022 254.2)

  • #2C242E

    #2C242E

    oklch(27.4% 0.021 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28281B

    #28281B

    oklch(27.3% 0.023 107.8)

  • #1B2930

    #1B2930

    oklch(27.1% 0.023 230.3)

  • #302329

    #302329

    oklch(27.4% 0.022 349.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28281B

    #28281B

    oklch(27.3% 0.023 107.8)

  • #192B2B

    #192B2B

    oklch(27.4% 0.024 195.9)

  • #262532

    #262532

    oklch(27.1% 0.024 288.2)

  • #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 #28281B, closest first.

Similar named colors

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

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