#281E2A

Closest named color: Jet (#212529). oklch(25.2% 0.026 320.7), rgb(40, 30, 42).

Aa

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

About this color

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

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

Values

HEX#281E2A
RGBrgb(40, 30, 42)
HSLhsl(290, 17%, 14%)
OKLCHoklch(25.2% 0.026 320.7)

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 #281E2A 16.03:1 AAA Lc -105.5 Preferred for body text
Black text on #281E2A 1.30:1 Fails Lc 0.0 Not readable
#281E2A text on white 16.03:1 AAA Lc 103.0 Preferred for body text
#281E2A 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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #DFD6E0

    oklch(88.6% 0.017 322.7)

  4. Step 300

    300

    #CABACD

    oklch(80.8% 0.032 320.9)

  5. Step 400

    400

    #AF97B4

    oklch(70.7% 0.05 320.4)

  6. Step 500

    500

    #9B7DA2

    oklch(63.1% 0.064 319.9)

  7. Step 600

    600

    #86668D

    oklch(55.6% 0.07 320.2)

  8. Step 700

    700

    #725577

    oklch(49.2% 0.064 321.4)

  9. Step 800

    800

    #5C4561

    oklch(42.6% 0.054 320.3)

  10. Step 900

    900

    #4C3A4F

    oklch(37.6% 0.042 321.5)

  11. Step 950

    950 (this color)

    #281E2A

    oklch(25.2% 0.026 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#281E2A 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)#1D212A0.022
Deuteranopia (no green cones)#1F222A0.021
Tritanopia (no blue cones)#281F220.017
Achromatopsia (no color)#2121210.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #281E2A

    #281E2A

    oklch(25.2% 0.026 320.7)

  • #1B2519

    #1B2519

    oklch(25.1% 0.026 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281E2A

    #281E2A

    oklch(25.2% 0.026 320.7)

  • #22202E

    #22202E

    oklch(25.2% 0.026 290.9)

  • #2C1D24

    #2C1D24

    oklch(25.2% 0.026 349.6)

Open the analogous palette in the generator

Split complementary

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

  • #281E2A

    #281E2A

    oklch(25.2% 0.026 320.7)

  • #232314

    #232314

    oklch(25.1% 0.026 108.2)

  • #142620

    #142620

    oklch(25.1% 0.027 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281E2A

    #281E2A

    oklch(25.2% 0.026 320.7)

  • #292113

    #292113

    oklch(25.3% 0.027 81)

  • #122627

    #122627

    oklch(25.2% 0.026 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281E2A

    #281E2A

    oklch(25.2% 0.026 320.7)

  • #2D1F16

    #2D1F16

    oklch(25.4% 0.027 53.9)

  • #1B2519

    #1B2519

    oklch(25.1% 0.026 140.4)

  • #14252D

    #14252D

    oklch(25.3% 0.027 229.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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