#282A34

Closest named color: Space Cadet (#2B2D42). oklch(28.7% 0.018 276.3), rgb(40, 42, 52).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.27:1

Values

HEX#282A34
RGBrgb(40, 42, 52)
HSLhsl(230, 13%, 18%)
OKLCHoklch(28.7% 0.018 276.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 #282A34 14.27:1 AAA Lc -104.0 Preferred for body text
Black text on #282A34 1.47:1 Fails Lc 0.0 Not readable
#282A34 text on white 14.27:1 AAA Lc 101.0 Preferred for body text
#282A34 text on black 1.47: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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E8E9EE

    oklch(93.5% 0.007 277.2)

  3. Step 200

    200

    #D7D9E1

    oklch(88.6% 0.011 274.9)

  4. Step 300

    300

    #BCC0CF

    oklch(80.9% 0.021 274)

  5. Step 400

    400

    #9A9FB7

    oklch(70.6% 0.035 276.2)

  6. Step 500

    500

    #8288A5

    oklch(63.2% 0.044 275.9)

  7. Step 600

    600

    #6B7190

    oklch(55.5% 0.049 276.2)

  8. Step 700

    700

    #595F7B

    oklch(49.1% 0.046 275.2)

  9. Step 800

    800

    #494D64

    oklch(42.6% 0.039 276.9)

  10. Step 900

    900

    #3D4051

    oklch(37.6% 0.029 277.1)

  11. Step 950

    950 (this color)

    #282A34

    oklch(28.7% 0.018 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#282A34 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)#272B340.004
Deuteranopia (no green cones)#272A340.002
Tritanopia (no blue cones)#252C2D0.018
Achromatopsia (no color)#2A2A2A0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A34

    #282A34

    oklch(28.7% 0.018 276.3)

  • #2D2B20

    #2D2B20

    oklch(28.8% 0.019 98.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A34

    #282A34

    oklch(28.7% 0.018 276.3)

  • #232C33

    #232C33

    oklch(28.8% 0.018 241.7)

  • #2D2832

    #2D2832

    oklch(28.6% 0.019 307.7)

Open the analogous palette in the generator

Split complementary

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

  • #282A34

    #282A34

    oklch(28.7% 0.018 276.3)

  • #312921

    #312921

    oklch(28.7% 0.018 67)

  • #282C23

    #282C23

    oklch(28.6% 0.017 127)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A34

    #282A34

    oklch(28.7% 0.018 276.3)

  • #332824

    #332824

    oklch(28.8% 0.018 41)

  • #232E27

    #232E27

    oklch(28.8% 0.02 157)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A34

    #282A34

    oklch(28.7% 0.018 276.3)

  • #332729

    #332729

    oklch(28.7% 0.018 7.1)

  • #2D2B20

    #2D2B20

    oklch(28.8% 0.019 98.9)

  • #202E2C

    #202E2C

    oklch(28.8% 0.019 185.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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