#28202C

Closest named color: Jet (#212529). oklch(25.8% 0.025 314.4), rgb(40, 32, 44).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.33:1
White text15.75:1

Values

HEX#28202C
RGBrgb(40, 32, 44)
HSLhsl(280, 16%, 15%)
OKLCHoklch(25.8% 0.025 314.4)

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 #28202C 15.75:1 AAA Lc -105.3 Preferred for body text
Black text on #28202C 1.33:1 Fails Lc 0.0 Not readable
#28202C text on white 15.75:1 AAA Lc 102.7 Preferred for body text
#28202C text on black 1.33: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C8BBCE

    oklch(80.9% 0.03 315.3)

  5. Step 400

    400

    #AC98B5

    oklch(70.7% 0.047 315.4)

  6. Step 500

    500

    #977FA3

    oklch(63.1% 0.06 314.4)

  7. Step 600

    600

    #82688E

    oklch(55.7% 0.065 315)

  8. Step 700

    700

    #6E5679

    oklch(49.1% 0.062 315)

  9. Step 800

    800

    #594762

    oklch(42.7% 0.049 314.3)

  10. Step 900

    900

    #493B50

    oklch(37.6% 0.04 314.3)

  11. Step 950

    950 (this color)

    #28202C

    oklch(25.8% 0.025 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#28202C 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)#1E222D0.019
Deuteranopia (no green cones)#20232C0.017
Tritanopia (no blue cones)#2821240.017
Achromatopsia (no color)#2323230.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #28202C

    #28202C

    oklch(25.8% 0.025 314.4)

  • #1F261A

    #1F261A

    oklch(25.8% 0.024 132.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28202C

    #28202C

    oklch(25.8% 0.025 314.4)

  • #22222F

    #22222F

    oklch(25.8% 0.024 284.6)

  • #2C1F26

    #2C1F26

    oklch(25.8% 0.023 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #28202C

    #28202C

    oklch(25.8% 0.025 314.4)

  • #252416

    #252416

    oklch(25.7% 0.025 104.5)

  • #182720

    #182720

    oklch(25.7% 0.024 164)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28202C

    #28202C

    oklch(25.8% 0.025 314.4)

  • #2B2216

    #2B2216

    oklch(25.9% 0.025 74.3)

  • #142727

    #142727

    oklch(25.7% 0.025 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28202C

    #28202C

    oklch(25.8% 0.025 314.4)

  • #2E201A

    #2E201A

    oklch(25.9% 0.024 44.2)

  • #1F261A

    #1F261A

    oklch(25.8% 0.024 132.5)

  • #16262D

    #16262D

    oklch(25.8% 0.025 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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