#281F20

Closest named color: Jet (#212529). oklch(25% 0.014 10.6), rgb(40, 31, 32).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.014)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.30:1
White text16.06:1

Values

HEX#281F20
RGBrgb(40, 31, 32)
HSLhsl(353, 13%, 14%)
OKLCHoklch(25% 0.014 10.6)

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 #281F20 16.06:1 AAA Lc -105.6 Preferred for body text
Black text on #281F20 1.30:1 Fails Lc 0.0 Not readable
#281F20 text on white 16.06:1 AAA Lc 103.0 Preferred for body text
#281F20 text on black 1.30: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

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EDE8E9

    oklch(93.5% 0.006 3.3)

  3. Step 200

    200

    #DFD7D7

    oklch(88.6% 0.009 17.3)

  4. Step 300

    300

    #CBBCBE

    oklch(80.8% 0.017 8.3)

  5. Step 400

    400

    #B09A9C

    oklch(70.6% 0.026 11.5)

  6. Step 500

    500

    #9D8184

    oklch(63% 0.035 10.9)

  7. Step 600

    600

    #876B6E

    oklch(55.6% 0.036 11.1)

  8. Step 700

    700

    #73595C

    oklch(49.1% 0.035 10.7)

  9. Step 800

    800

    #5D494B

    oklch(42.7% 0.027 11.5)

  10. Step 900

    900

    #4D3D3F

    oklch(37.8% 0.023 9.8)

  11. Step 950

    950 (this color)

    #281F20

    oklch(25% 0.014 10.6)

Export this scale for Tailwind in the Tailwind colors tool

#281F20 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)#2020200.016
Deuteranopia (no green cones)#2222200.015
Tritanopia (no blue cones)#2A1E1F0.005
Achromatopsia (no color)#2121210.014

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

Use #281F20 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.