#281E2B

Closest named color: Jet (#212529). oklch(25.3% 0.028 318.3), rgb(40, 30, 43).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.31:1
White text16.02:1

Values

HEX#281E2B
RGBrgb(40, 30, 43)
HSLhsl(286, 18%, 14%)
OKLCHoklch(25.3% 0.028 318.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 #281E2B 16.02:1 AAA Lc -105.5 Preferred for body text
Black text on #281E2B 1.31:1 Fails Lc 0.0 Not readable
#281E2B text on white 16.02:1 AAA Lc 103.0 Preferred for body text
#281E2B text on black 1.31: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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #DED5E1

    oklch(88.4% 0.019 317.7)

  4. Step 300

    300

    #CABACF

    oklch(80.9% 0.034 318.1)

  5. Step 400

    400

    #AF97B6

    oklch(70.8% 0.052 318.5)

  6. Step 500

    500

    #9B7DA4

    oklch(63.1% 0.067 318.3)

  7. Step 600

    600

    #86658F

    oklch(55.5% 0.074 318.9)

  8. Step 700

    700

    #71547A

    oklch(49% 0.069 318)

  9. Step 800

    800

    #5C4563

    oklch(42.7% 0.056 318.2)

  10. Step 900

    900

    #4C3A51

    oklch(37.7% 0.045 318.8)

  11. Step 950

    950 (this color)

    #281E2B

    oklch(25.3% 0.028 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#281E2B 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)#1D212C0.022
Deuteranopia (no green cones)#1F222B0.021
Tritanopia (no blue cones)#281F230.017
Achromatopsia (no color)#2121210.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #281E2B

    #281E2B

    oklch(25.3% 0.028 318.3)

  • #1C2618

    #1C2618

    oklch(25.4% 0.029 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281E2B

    #281E2B

    oklch(25.3% 0.028 318.3)

  • #21202F

    #21202F

    oklch(25.2% 0.028 287.2)

  • #2D1D25

    #2D1D25

    oklch(25.4% 0.028 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #281E2B

    #281E2B

    oklch(25.3% 0.028 318.3)

  • #232313

    #232313

    oklch(25.1% 0.028 108.3)

  • #142720

    #142720

    oklch(25.4% 0.028 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281E2B

    #281E2B

    oklch(25.3% 0.028 318.3)

  • #2A2113

    #2A2113

    oklch(25.4% 0.028 78)

  • #102627

    #102627

    oklch(25.1% 0.028 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281E2B

    #281E2B

    oklch(25.3% 0.028 318.3)

  • #2D1E16

    #2D1E16

    oklch(25.1% 0.028 49.1)

  • #1C2618

    #1C2618

    oklch(25.4% 0.029 136.9)

  • #13252D

    #13252D

    oklch(25.3% 0.028 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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