#282D38

Closest named color: Space Cadet (#2B2D42). oklch(29.7% 0.021 265.9), rgb(40, 45, 56).

Aa

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

About this color

#282D38 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 13.79:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.79:1

Values

HEX#282D38
RGBrgb(40, 45, 56)
HSLhsl(221, 17%, 19%)
OKLCHoklch(29.7% 0.021 265.9)

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 #282D38 13.79:1 AAA Lc -103.4 Preferred for body text
Black text on #282D38 1.52:1 Fails Lc 0.0 Not readable
#282D38 text on white 13.79:1 AAA Lc 100.4 Preferred for body text
#282D38 text on black 1.52: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D5D9E3

    oklch(88.5% 0.014 268.5)

  4. Step 300

    300

    #B9C1D1

    oklch(81% 0.024 264.4)

  5. Step 400

    400

    #95A1BB

    oklch(70.8% 0.04 265.7)

  6. Step 500

    500

    #7B89A9

    oklch(63% 0.051 266.4)

  7. Step 600

    600

    #647395

    oklch(55.6% 0.056 266.1)

  8. Step 700

    700

    #53607F

    oklch(49.1% 0.053 266.8)

  9. Step 800

    800

    #444F67

    oklch(42.8% 0.042 265.5)

  10. Step 900

    900

    #394154

    oklch(37.6% 0.034 266.9)

  11. Step 950

    950 (this color)

    #282D38

    oklch(29.7% 0.021 265.9)

Export this scale for Tailwind in the Tailwind colors tool

#282D38 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)#2A2E390.005
Deuteranopia (no green cones)#282C380.003
Tritanopia (no blue cones)#242F310.018
Achromatopsia (no color)#2D2D2D0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #282D38

    #282D38

    oklch(29.7% 0.021 265.9)

  • #322C21

    #322C21

    oklch(29.6% 0.021 82.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282D38

    #282D38

    oklch(29.7% 0.021 265.9)

  • #232F36

    #232F36

    oklch(29.7% 0.021 234)

  • #2E2B37

    #2E2B37

    oklch(29.7% 0.022 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #282D38

    #282D38

    oklch(29.7% 0.021 265.9)

  • #362A23

    #362A23

    oklch(29.6% 0.022 51.8)

  • #2C2F22

    #2C2F22

    oklch(29.8% 0.023 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282D38

    #282D38

    oklch(29.7% 0.021 265.9)

  • #372928

    #372928

    oklch(29.7% 0.021 23.1)

  • #263027

    #263027

    oklch(29.7% 0.021 147.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282D38

    #282D38

    oklch(29.7% 0.021 265.9)

  • #36292D

    #36292D

    oklch(29.7% 0.02 358.1)

  • #322C21

    #322C21

    oklch(29.6% 0.021 82.6)

  • #22312D

    #22312D

    oklch(29.8% 0.021 176.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282D38 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.