#281817

Closest named color: Dark Brown (#341C02). oklch(23% 0.026 23.3), rgb(40, 24, 23).

Aa

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

About this color

#281817 is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.045 away. White text reads best on it, at 17.02:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.23:1
White text17.02:1

Values

HEX#281817
RGBrgb(40, 24, 23)
HSLhsl(4, 27%, 12%)
OKLCHoklch(23% 0.026 23.3)

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 #281817 17.02:1 AAA Lc -106.2 Preferred for body text
Black text on #281817 1.23:1 Fails Lc 0.0 Not readable
#281817 text on white 17.02:1 AAA Lc 103.9 Preferred for body text
#281817 text on black 1.23: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

    #F8F4F4

    oklch(97% 0.004 17.2)

  2. Step 100

    100

    #F0E8E7

    oklch(93.7% 0.009 26)

  3. Step 200

    200

    #E4D5D4

    oklch(88.5% 0.017 22.1)

  4. Step 300

    300

    #D4B9B7

    oklch(80.8% 0.031 22.9)

  5. Step 400

    400

    #BE9592

    oklch(70.7% 0.05 23.2)

  6. Step 500

    500

    #AD7B77

    oklch(63.2% 0.063 24.1)

  7. Step 600

    600

    #986360

    oklch(55.6% 0.069 23.1)

  8. Step 700

    700

    #81524F

    oklch(49% 0.064 23.6)

  9. Step 800

    800

    #694341

    oklch(42.6% 0.053 22.8)

  10. Step 900

    900

    #563937

    oklch(37.8% 0.042 23.6)

  11. Step 950

    950 (this color)

    #281817

    oklch(23% 0.026 23.3)

Export this scale for Tailwind in the Tailwind colors tool

#281817 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)#1B1A170.027
Deuteranopia (no green cones)#1F1D170.024
Tritanopia (no blue cones)#2B16180.010
Achromatopsia (no color)#1C1C1C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #281817

    #281817

    oklch(23% 0.026 23.3)

  • #0D2022

    #0D2022

    oklch(22.8% 0.025 204.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281817

    #281817

    oklch(23% 0.026 23.3)

  • #27181E

    #27181E

    oklch(23.1% 0.026 353.6)

  • #271911

    #271911

    oklch(22.9% 0.027 50.7)

Open the analogous palette in the generator

Split complementary

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

  • #281817

    #281817

    oklch(23% 0.026 23.3)

  • #0F211C

    #0F211C

    oklch(23% 0.026 174.1)

  • #101F27

    #101F27

    oklch(23% 0.026 232.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281817

    #281817

    oklch(23% 0.026 23.3)

  • #162015

    #162015

    oklch(23% 0.025 142.4)

  • #161D29

    #161D29

    oklch(23% 0.026 261)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281817

    #281817

    oklch(23% 0.026 23.3)

  • #1D1E10

    #1D1E10

    oklch(22.9% 0.025 111.7)

  • #0D2022

    #0D2022

    oklch(22.8% 0.025 204.4)

  • #1D1B28

    #1D1B28

    oklch(23.1% 0.025 291.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #281817 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.