#282A38

Closest named color: Space Cadet (#2B2D42). oklch(28.9% 0.026 278.3), rgb(40, 42, 56).

Aa

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

About this color

#282A38 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.026. 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 14.20:1.

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

Values

HEX#282A38
RGBrgb(40, 42, 56)
HSLhsl(233, 17%, 19%)
OKLCHoklch(28.9% 0.026 278.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 #282A38 14.20:1 AAA Lc -103.9 Preferred for body text
Black text on #282A38 1.47:1 Fails Lc 0.0 Not readable
#282A38 text on white 14.20:1 AAA Lc 100.9 Preferred for body text
#282A38 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D6D8E5

    oklch(88.5% 0.018 279)

  4. Step 300

    300

    #BCBFD5

    oklch(80.9% 0.031 279.5)

  5. Step 400

    400

    #999EBF

    oklch(70.7% 0.048 278.3)

  6. Step 500

    500

    #8086AF

    oklch(63% 0.062 278)

  7. Step 600

    600

    #6A6F9B

    oklch(55.5% 0.069 278.9)

  8. Step 700

    700

    #585D84

    oklch(49% 0.063 278.2)

  9. Step 800

    800

    #484C6B

    oklch(42.6% 0.052 278.3)

  10. Step 900

    900

    #3C4057

    oklch(37.8% 0.04 276.7)

  11. Step 950

    950 (this color)

    #282A38

    oklch(28.9% 0.026 278.3)

Export this scale for Tailwind in the Tailwind colors tool

#282A38 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)#262B390.004
Deuteranopia (no green cones)#252A380.005
Tritanopia (no blue cones)#242D2F0.024
Achromatopsia (no color)#2B2B2B0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A38

    #282A38

    oklch(28.9% 0.026 278.3)

  • #2E2B1D

    #2E2B1D

    oklch(28.8% 0.024 97.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A38

    #282A38

    oklch(28.9% 0.026 278.3)

  • #212C38

    #212C38

    oklch(28.8% 0.027 251)

  • #2F2835

    #2F2835

    oklch(29% 0.025 309.1)

Open the analogous palette in the generator

Split complementary

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

  • #282A38

    #282A38

    oklch(28.9% 0.026 278.3)

  • #34291D

    #34291D

    oklch(29% 0.026 68.9)

  • #272E20

    #272E20

    oklch(29% 0.026 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A38

    #282A38

    oklch(28.9% 0.026 278.3)

  • #372722

    #372722

    oklch(29% 0.026 38.1)

  • #202F26

    #202F26

    oklch(28.8% 0.026 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A38

    #282A38

    oklch(28.9% 0.026 278.3)

  • #372629

    #372629

    oklch(29% 0.026 7.1)

  • #2E2B1D

    #2E2B1D

    oklch(28.8% 0.024 97.5)

  • #1C2F2E

    #1C2F2E

    oklch(28.9% 0.025 191.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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