#282A1F

Closest named color: Jet (#212529). oklch(27.9% 0.02 116.1), rgb(40, 42, 31).

Aa

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

About this color

#282A1F is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.020. 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.57:1.

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.44:1
White text14.57:1

Values

HEX#282A1F
RGBrgb(40, 42, 31)
HSLhsl(71, 15%, 14%)
OKLCHoklch(27.9% 0.02 116.1)

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 #282A1F 14.57:1 AAA Lc -104.3 Preferred for body text
Black text on #282A1F 1.44:1 Fails Lc 0.0 Not readable
#282A1F text on white 14.57:1 AAA Lc 101.4 Preferred for body text
#282A1F text on black 1.44: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

    #E9EAE5

    oklch(93.5% 0.007 115.7)

  3. Step 200

    200

    #D8DAD1

    oklch(88.4% 0.012 116.8)

  4. Step 300

    300

    #BFC3B2

    oklch(80.9% 0.024 117.7)

  5. Step 400

    400

    #9FA48A

    oklch(70.7% 0.037 116.2)

  6. Step 500

    500

    #888D6D

    oklch(63% 0.046 115)

  7. Step 600

    600

    #717755

    oklch(55.5% 0.05 116.2)

  8. Step 700

    700

    #5F6445

    oklch(49% 0.047 115.6)

  9. Step 800

    800

    #4E5239

    oklch(42.8% 0.039 115.5)

  10. Step 900

    900

    #404431

    oklch(37.7% 0.031 117.6)

  11. Step 950

    950 (this color)

    #282A1F

    oklch(27.9% 0.02 116.1)

Export this scale for Tailwind in the Tailwind colors tool

#282A1F 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)#2C291E0.007
Deuteranopia (no green cones)#2B291F0.006
Tritanopia (no blue cones)#2929270.016
Achromatopsia (no color)#2929290.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A1F

    #282A1F

    oklch(27.9% 0.02 116.1)

  • #292731

    #292731

    oklch(27.9% 0.018 294.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A1F

    #282A1F

    oklch(27.9% 0.02 116.1)

  • #2D281E

    #2D281E

    oklch(27.9% 0.019 84.5)

  • #232B23

    #232B23

    oklch(27.8% 0.018 145.1)

Open the analogous palette in the generator

Split complementary

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

  • #282A1F

    #282A1F

    oklch(27.9% 0.02 116.1)

  • #242933

    #242933

    oklch(28% 0.02 264.2)

  • #2E252E

    #2E252E

    oklch(27.8% 0.021 326.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A1F

    #282A1F

    oklch(27.9% 0.02 116.1)

  • #1F2A31

    #1F2A31

    oklch(27.8% 0.02 236.4)

  • #312529

    #312529

    oklch(28% 0.019 356.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A1F

    #282A1F

    oklch(27.9% 0.02 116.1)

  • #1D2C2D

    #1D2C2D

    oklch(28% 0.02 201.3)

  • #292731

    #292731

    oklch(27.9% 0.018 294.3)

  • #322524

    #322524

    oklch(27.9% 0.02 23.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282A1F 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.