#282C3A

Closest named color: Space Cadet (#2B2D42). oklch(29.5% 0.026 272.3), rgb(40, 44, 58).

Aa

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

About this color

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

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

Values

HEX#282C3A
RGBrgb(40, 44, 58)
HSLhsl(227, 18%, 19%)
OKLCHoklch(29.5% 0.026 272.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 #282C3A 13.89:1 AAA Lc -103.6 Preferred for body text
Black text on #282C3A 1.51:1 Fails Lc 0.0 Not readable
#282C3A text on white 13.89:1 AAA Lc 100.5 Preferred for body text
#282C3A text on black 1.51: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

    #E8EAF0

    oklch(93.7% 0.008 271.3)

  3. Step 200

    200

    #D5D9E5

    oklch(88.6% 0.017 271.2)

  4. Step 300

    300

    #B9C0D5

    oklch(80.9% 0.031 271)

  5. Step 400

    400

    #969FC0

    oklch(70.7% 0.049 273.1)

  6. Step 500

    500

    #7C87B0

    oklch(63% 0.063 272.8)

  7. Step 600

    600

    #65719C

    oklch(55.6% 0.069 272)

  8. Step 700

    700

    #545E85

    oklch(49% 0.064 272.8)

  9. Step 800

    800

    #454D6C

    oklch(42.6% 0.053 272.9)

  10. Step 900

    900

    #3A4058

    oklch(37.6% 0.042 273.4)

  11. Step 950

    950 (this color)

    #282C3A

    oklch(29.5% 0.026 272.3)

Export this scale for Tailwind in the Tailwind colors tool

#282C3A 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)#282D3B0.003
Deuteranopia (no green cones)#262C3A0.003
Tritanopia (no blue cones)#232F310.024
Achromatopsia (no color)#2C2C2C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #282C3A

    #282C3A

    oklch(29.5% 0.026 272.3)

  • #312C1E

    #312C1E

    oklch(29.4% 0.025 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282C3A

    #282C3A

    oklch(29.5% 0.026 272.3)

  • #212E39

    #212E39

    oklch(29.4% 0.027 244.4)

  • #2F2A38

    #2F2A38

    oklch(29.6% 0.026 301.2)

Open the analogous palette in the generator

Split complementary

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

  • #282C3A

    #282C3A

    oklch(29.5% 0.026 272.3)

  • #362A1F

    #362A1F

    oklch(29.5% 0.026 64.1)

  • #2A2F20

    #2A2F20

    oklch(29.5% 0.027 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282C3A

    #282C3A

    oklch(29.5% 0.026 272.3)

  • #392824

    #392824

    oklch(29.6% 0.027 33.6)

  • #233126

    #233126

    oklch(29.7% 0.027 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282C3A

    #282C3A

    oklch(29.5% 0.026 272.3)

  • #38272B

    #38272B

    oklch(29.4% 0.026 3.3)

  • #312C1E

    #312C1E

    oklch(29.4% 0.025 90.7)

  • #1E312E

    #1E312E

    oklch(29.6% 0.025 183.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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