#281C1F

Closest named color: Jet (#212529). oklch(24.2% 0.02 2.1), rgb(40, 28, 31).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.27:1
White text16.45:1

Values

HEX#281C1F
RGBrgb(40, 28, 31)
HSLhsl(345, 18%, 13%)
OKLCHoklch(24.2% 0.02 2.1)

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 #281C1F 16.45:1 AAA Lc -105.9 Preferred for body text
Black text on #281C1F 1.27:1 Fails Lc 0.0 Not readable
#281C1F text on white 16.45:1 AAA Lc 103.4 Preferred for body text
#281C1F text on black 1.27: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

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EEE8E9

    oklch(93.6% 0.007 5.6)

  3. Step 200

    200

    #E1D6D8

    oklch(88.5% 0.012 4.8)

  4. Step 300

    300

    #CEBBBF

    oklch(80.9% 0.022 3.2)

  5. Step 400

    400

    #B5979F

    oklch(70.6% 0.037 0.2)

  6. Step 500

    500

    #A37E87

    oklch(63.1% 0.047 2.3)

  7. Step 600

    600

    #8E6771

    oklch(55.7% 0.052 2)

  8. Step 700

    700

    #78555E

    oklch(49% 0.048 2.1)

  9. Step 800

    800

    #62464D

    oklch(42.7% 0.04 2.4)

  10. Step 900

    900

    #503B40

    oklch(37.7% 0.031 2.8)

  11. Step 950

    950 (this color)

    #281C1F

    oklch(24.2% 0.02 2.1)

Export this scale for Tailwind in the Tailwind colors tool

#281C1F 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)#1E1E1F0.020
Deuteranopia (no green cones)#20201F0.020
Tritanopia (no blue cones)#2A1B1D0.005
Achromatopsia (no color)#1F1F1F0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #281C1F

    #281C1F

    oklch(24.2% 0.02 2.1)

  • #152320

    #152320

    oklch(24.2% 0.02 179.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281C1F

    #281C1F

    oklch(24.2% 0.02 2.1)

  • #261C24

    #261C24

    oklch(24.2% 0.021 333.2)

  • #281C1A

    #281C1A

    oklch(24.1% 0.019 29.4)

Open the analogous palette in the generator

Split complementary

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

  • #281C1F

    #281C1F

    oklch(24.2% 0.02 2.1)

  • #19231B

    #19231B

    oklch(24.4% 0.021 150.6)

  • #152225

    #152225

    oklch(24.1% 0.019 213.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281C1F

    #281C1F

    oklch(24.2% 0.02 2.1)

  • #1E2117

    #1E2117

    oklch(24.1% 0.019 121.4)

  • #182128

    #182128

    oklch(24.2% 0.019 241.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281C1F

    #281C1F

    oklch(24.2% 0.02 2.1)

  • #232015

    #232015

    oklch(24.3% 0.02 94.7)

  • #152320

    #152320

    oklch(24.2% 0.02 179.7)

  • #1C1F29

    #1C1F29

    oklch(24.1% 0.02 271.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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