#281F2B

Closest named color: Jet (#212529). oklch(25.5% 0.026 317.6), rgb(40, 31, 43).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.32:1
White text15.89:1

Values

HEX#281F2B
RGBrgb(40, 31, 43)
HSLhsl(285, 16%, 15%)
OKLCHoklch(25.5% 0.026 317.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 #281F2B 15.89:1 AAA Lc -105.4 Preferred for body text
Black text on #281F2B 1.32:1 Fails Lc 0.0 Not readable
#281F2B text on white 15.89:1 AAA Lc 102.8 Preferred for body text
#281F2B text on black 1.32: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DED6E1

    oklch(88.6% 0.017 316.9)

  4. Step 300

    300

    #C9BBCE

    oklch(80.9% 0.03 317.2)

  5. Step 400

    400

    #AD98B5

    oklch(70.8% 0.048 316.7)

  6. Step 500

    500

    #997EA2

    oklch(63.1% 0.061 317.6)

  7. Step 600

    600

    #84678D

    oklch(55.6% 0.067 318.1)

  8. Step 700

    700

    #705578

    oklch(49.1% 0.064 318.4)

  9. Step 800

    800

    #5B4662

    oklch(42.7% 0.052 317.6)

  10. Step 900

    900

    #4B3B50

    oklch(37.8% 0.041 318)

  11. Step 950

    950 (this color)

    #281F2B

    oklch(25.5% 0.026 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#281F2B 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)#1E222C0.020
Deuteranopia (no green cones)#20222B0.017
Tritanopia (no blue cones)#2820230.017
Achromatopsia (no color)#2222220.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #281F2B

    #281F2B

    oklch(25.5% 0.026 317.6)

  • #1D261A

    #1D261A

    oklch(25.6% 0.025 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281F2B

    #281F2B

    oklch(25.5% 0.026 317.6)

  • #22212F

    #22212F

    oklch(25.5% 0.026 287.7)

  • #2C1E25

    #2C1E25

    oklch(25.5% 0.025 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #281F2B

    #281F2B

    oklch(25.5% 0.026 317.6)

  • #242415

    #242415

    oklch(25.6% 0.026 108.1)

  • #162720

    #162720

    oklch(25.5% 0.026 166.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281F2B

    #281F2B

    oklch(25.5% 0.026 317.6)

  • #2A2115

    #2A2115

    oklch(25.5% 0.025 74.3)

  • #132727

    #132727

    oklch(25.6% 0.026 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281F2B

    #281F2B

    oklch(25.5% 0.026 317.6)

  • #2D1F18

    #2D1F18

    oklch(25.4% 0.025 47.7)

  • #1D261A

    #1D261A

    oklch(25.6% 0.025 138)

  • #15252D

    #15252D

    oklch(25.4% 0.026 230.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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