#282218

Closest named color: Jet (#212529). oklch(25.6% 0.02 80.3), rgb(40, 34, 24).

Aa

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

About this color

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

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

Values

HEX#282218
RGBrgb(40, 34, 24)
HSLhsl(38, 25%, 13%)
OKLCHoklch(25.6% 0.02 80.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 #282218 15.76:1 AAA Lc -105.3 Preferred for body text
Black text on #282218 1.33:1 Fails Lc 0.0 Not readable
#282218 text on white 15.76:1 AAA Lc 102.7 Preferred for body text
#282218 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #ECE9E5

    oklch(93.5% 0.006 75.4)

  3. Step 200

    200

    #DED8D0

    oklch(88.5% 0.013 75.4)

  4. Step 300

    300

    #C9BFB0

    oklch(80.9% 0.024 78.2)

  5. Step 400

    400

    #AD9F86

    oklch(70.8% 0.039 82.1)

  6. Step 500

    500

    #998768

    oklch(63.2% 0.049 81.1)

  7. Step 600

    600

    #847050

    oklch(55.6% 0.052 79.1)

  8. Step 700

    700

    #6F5E41

    oklch(49.1% 0.048 80.6)

  9. Step 800

    800

    #5B4D35

    oklch(42.8% 0.041 80.7)

  10. Step 900

    900

    #4A402E

    oklch(37.7% 0.032 82)

  11. Step 950

    950 (this color)

    #282218

    oklch(25.6% 0.02 80.3)

Export this scale for Tailwind in the Tailwind colors tool

#282218 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)#2522170.006
Deuteranopia (no green cones)#2623180.005
Tritanopia (no blue cones)#2B201F0.018
Achromatopsia (no color)#2323230.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #282218

    #282218

    oklch(25.6% 0.02 80.3)

  • #1D232D

    #1D232D

    oklch(25.5% 0.021 260.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282218

    #282218

    oklch(25.6% 0.02 80.3)

  • #2B201A

    #2B201A

    oklch(25.5% 0.02 50)

  • #232419

    #232419

    oklch(25.6% 0.02 112)

Open the analogous palette in the generator

Split complementary

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

  • #282218

    #282218

    oklch(25.6% 0.02 80.3)

  • #19252B

    #19252B

    oklch(25.6% 0.02 230.1)

  • #23212C

    #23212C

    oklch(25.5% 0.021 293.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282218

    #282218

    oklch(25.6% 0.02 80.3)

  • #172627

    #172627

    oklch(25.6% 0.02 201.2)

  • #272029

    #272029

    oklch(25.5% 0.019 318.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282218

    #282218

    oklch(25.6% 0.02 80.3)

  • #192621

    #192621

    oklch(25.5% 0.02 169)

  • #1D232D

    #1D232D

    oklch(25.5% 0.021 260.6)

  • #2B1F24

    #2B1F24

    oklch(25.6% 0.02 351.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282218 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.