#281F23

Closest named color: Jet (#212529). oklch(25.1% 0.016 349.7), rgb(40, 31, 35).

Aa

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

About this color

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

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

Values

HEX#281F23
RGBrgb(40, 31, 35)
HSLhsl(333, 13%, 14%)
OKLCHoklch(25.1% 0.016 349.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 #281F23 16.02:1 AAA Lc -105.5 Preferred for body text
Black text on #281F23 1.31:1 Fails Lc 0.0 Not readable
#281F23 text on white 16.02:1 AAA Lc 103.0 Preferred for body text
#281F23 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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EA

    oklch(93.5% 0.006 350.8)

  3. Step 200

    200

    #DFD6DA

    oklch(88.4% 0.011 348.5)

  4. Step 300

    300

    #CBBCC2

    oklch(80.9% 0.019 351.3)

  5. Step 400

    400

    #B099A3

    oklch(70.6% 0.03 349.8)

  6. Step 500

    500

    #9C818D

    oklch(63.2% 0.037 349.7)

  7. Step 600

    600

    #876A77

    oklch(55.7% 0.041 349.8)

  8. Step 700

    700

    #725864

    oklch(49.1% 0.038 349.2)

  9. Step 800

    800

    #5D4851

    oklch(42.7% 0.032 351)

  10. Step 900

    900

    #4C3C43

    oklch(37.6% 0.025 350.3)

  11. Step 950

    950 (this color)

    #281F23

    oklch(25.1% 0.016 349.7)

Export this scale for Tailwind in the Tailwind colors tool

#281F23 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)#2021230.016
Deuteranopia (no green cones)#2222230.015
Tritanopia (no blue cones)#291F200.006
Achromatopsia (no color)#2121210.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #281F23

    #281F23

    oklch(25.1% 0.016 349.7)

  • #1B2421

    #1B2421

    oklch(25% 0.014 172.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281F23

    #281F23

    oklch(25.1% 0.016 349.7)

  • #252027

    #252027

    oklch(25.2% 0.015 316.3)

  • #291F1F

    #291F1F

    oklch(25.1% 0.016 18.2)

Open the analogous palette in the generator

Split complementary

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

  • #281F23

    #281F23

    oklch(25.1% 0.016 349.7)

  • #1E241D

    #1E241D

    oklch(25.2% 0.016 141.1)

  • #192425

    #192425

    oklch(25% 0.016 203.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281F23

    #281F23

    oklch(25.1% 0.016 349.7)

  • #22231A

    #22231A

    oklch(25.2% 0.016 112.7)

  • #1A2328

    #1A2328

    oklch(25% 0.016 232.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281F23

    #281F23

    oklch(25.1% 0.016 349.7)

  • #26211A

    #26211A

    oklch(25.1% 0.015 76.2)

  • #1B2421

    #1B2421

    oklch(25% 0.014 172.8)

  • #1E222A

    #1E222A

    oklch(25.1% 0.016 264.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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