#282231

Closest named color: Dark (#1B2431). oklch(26.5% 0.029 302.8), rgb(40, 34, 49).

Aa

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

About this color

#282231 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.023 away. White text reads best on it, at 15.40:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.36:1
White text15.40:1

Values

HEX#282231
RGBrgb(40, 34, 49)
HSLhsl(264, 18%, 16%)
OKLCHoklch(26.5% 0.029 302.8)

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 #282231 15.40:1 AAA Lc -105.0 Preferred for body text
Black text on #282231 1.36:1 Fails Lc 0.0 Not readable
#282231 text on white 15.40:1 AAA Lc 102.3 Preferred for body text
#282231 text on black 1.36: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DBD6E4

    oklch(88.4% 0.02 302.2)

  4. Step 300

    300

    #C5BCD3

    oklch(81% 0.033 303.4)

  5. Step 400

    400

    #A799BD

    oklch(70.7% 0.054 302.8)

  6. Step 500

    500

    #9280AD

    oklch(63.2% 0.069 302.8)

  7. Step 600

    600

    #7C6898

    oklch(55.5% 0.076 303.1)

  8. Step 700

    700

    #695782

    oklch(49.2% 0.07 303.1)

  9. Step 800

    800

    #554769

    oklch(42.6% 0.058 302.9)

  10. Step 900

    900

    #463C56

    oklch(37.7% 0.045 301.9)

  11. Step 950

    950 (this color)

    #282231

    oklch(26.5% 0.029 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#282231 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)#1F24320.017
Deuteranopia (no green cones)#2025310.017
Tritanopia (no blue cones)#2724270.022
Achromatopsia (no color)#2525250.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #282231

    #282231

    oklch(26.5% 0.029 302.8)

  • #232818

    #232818

    oklch(26.7% 0.029 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282231

    #282231

    oklch(26.5% 0.029 302.8)

  • #212533

    #212533

    oklch(26.7% 0.027 272.1)

  • #2E202B

    #2E202B

    oklch(26.5% 0.029 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #282231

    #282231

    oklch(26.5% 0.029 302.8)

  • #2A2515

    #2A2515

    oklch(26.5% 0.028 92.7)

  • #1A291F

    #1A291F

    oklch(26.4% 0.028 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282231

    #282231

    oklch(26.5% 0.029 302.8)

  • #2F2217

    #2F2217

    oklch(26.4% 0.028 61.4)

  • #142A27

    #142A27

    oklch(26.6% 0.029 184.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282231

    #282231

    oklch(26.5% 0.029 302.8)

  • #32201C

    #32201C

    oklch(26.5% 0.029 33)

  • #232818

    #232818

    oklch(26.7% 0.029 122.5)

  • #14292E

    #14292E

    oklch(26.6% 0.028 214.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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