#281F28

Closest named color: Jet (#212529). oklch(25.4% 0.021 326.2), rgb(40, 31, 40).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.31:1
White text15.94:1

Values

HEX#281F28
RGBrgb(40, 31, 40)
HSLhsl(300, 13%, 14%)
OKLCHoklch(25.4% 0.021 326.2)

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 #281F28 15.94:1 AAA Lc -105.5 Preferred for body text
Black text on #281F28 1.31:1 Fails Lc 0.0 Not readable
#281F28 text on white 15.94:1 AAA Lc 102.9 Preferred for body text
#281F28 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

    #F7F5F7

    oklch(97.2% 0.003 325.6)

  2. Step 100

    100

    #ECE8EC

    oklch(93.5% 0.007 325.6)

  3. Step 200

    200

    #DED6DE

    oklch(88.5% 0.014 325.7)

  4. Step 300

    300

    #CABBC9

    oklch(80.9% 0.026 327.9)

  5. Step 400

    400

    #AE98AE

    oklch(70.6% 0.04 326)

  6. Step 500

    500

    #9A7F9A

    oklch(63.1% 0.051 326.2)

  7. Step 600

    600

    #856885

    oklch(55.6% 0.056 326.3)

  8. Step 700

    700

    #705771

    oklch(49.2% 0.051 325.1)

  9. Step 800

    800

    #5C475C

    oklch(42.8% 0.043 326.3)

  10. Step 900

    900

    #4B3B4B

    oklch(37.6% 0.034 326.2)

  11. Step 950

    950 (this color)

    #281F28

    oklch(25.4% 0.021 326.2)

Export this scale for Tailwind in the Tailwind colors tool

#281F28 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)#1E21280.019
Deuteranopia (no green cones)#2022280.017
Tritanopia (no blue cones)#2920220.013
Achromatopsia (no color)#2222220.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #281F28

    #281F28

    oklch(25.4% 0.021 326.2)

  • #1C251C

    #1C251C

    oklch(25.3% 0.021 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281F28

    #281F28

    oklch(25.4% 0.021 326.2)

  • #23202C

    #23202C

    oklch(25.2% 0.023 296.2)

  • #2B1E23

    #2B1E23

    oklch(25.3% 0.022 353.9)

Open the analogous palette in the generator

Split complementary

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

  • #281F28

    #281F28

    oklch(25.4% 0.021 326.2)

  • #222418

    #222418

    oklch(25.4% 0.022 115.7)

  • #172622

    #172622

    oklch(25.4% 0.022 176)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281F28

    #281F28

    oklch(25.4% 0.021 326.2)

  • #272217

    #272217

    oklch(25.4% 0.021 86.3)

  • #162628

    #162628

    oklch(25.5% 0.022 205.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281F28

    #281F28

    oklch(25.4% 0.021 326.2)

  • #2B2019

    #2B2019

    oklch(25.4% 0.021 54)

  • #1C251C

    #1C251C

    oklch(25.3% 0.021 144.9)

  • #19242B

    #19242B

    oklch(25.3% 0.02 236.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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