#212D39

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.028 248.8), rgb(33, 45, 57).

Aa

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

About this color

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

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

Values

HEX#212D39
RGBrgb(33, 45, 57)
HSLhsl(210, 27%, 18%)
OKLCHoklch(29.2% 0.028 248.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 #212D39 14.00:1 AAA Lc -103.7 Preferred for body text
Black text on #212D39 1.49:1 Fails Lc 0.0 Not readable
#212D39 text on white 14.00:1 AAA Lc 100.6 Preferred for body text
#212D39 text on black 1.49: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAF0

    oklch(93.5% 0.01 252.8)

  3. Step 200

    200

    #D0DAE5

    oklch(88.4% 0.019 250.6)

  4. Step 300

    300

    #B1C3D5

    oklch(80.9% 0.032 248.2)

  5. Step 400

    400

    #88A4C0

    oklch(70.7% 0.052 248.6)

  6. Step 500

    500

    #6A8DB0

    oklch(63.1% 0.066 248.9)

  7. Step 600

    600

    #51779C

    oklch(55.6% 0.072 248.6)

  8. Step 700

    700

    #416485

    oklch(49.1% 0.067 247.9)

  9. Step 800

    800

    #36526C

    oklch(42.8% 0.055 247.4)

  10. Step 900

    900

    #2F4458

    oklch(37.8% 0.043 247.8)

  11. Step 950

    950 (this color)

    #212D39

    oklch(29.2% 0.028 248.8)

Export this scale for Tailwind in the Tailwind colors tool

#212D39 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)#282D3A0.011
Deuteranopia (no green cones)#252B390.009
Tritanopia (no blue cones)#1930310.024
Achromatopsia (no color)#2C2C2C0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #212D39

    #212D39

    oklch(29.2% 0.028 248.8)

  • #35291D

    #35291D

    oklch(29.1% 0.027 66.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212D39

    #212D39

    oklch(29.2% 0.028 248.8)

  • #1C2F35

    #1C2F35

    oklch(29.2% 0.027 219.8)

  • #282A39

    #282A39

    oklch(29% 0.028 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #212D39

    #212D39

    oklch(29.2% 0.028 248.8)

  • #382722

    #382722

    oklch(29.1% 0.027 37)

  • #2F2C1C

    #2F2C1C

    oklch(29.1% 0.027 98.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212D39

    #212D39

    oklch(29.2% 0.028 248.8)

  • #382629

    #382629

    oklch(29.1% 0.028 7.9)

  • #272F20

    #272F20

    oklch(29.3% 0.029 130.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212D39

    #212D39

    oklch(29.2% 0.028 248.8)

  • #352630

    #352630

    oklch(29% 0.028 339.1)

  • #35291D

    #35291D

    oklch(29.1% 0.027 66.4)

  • #203027

    #203027

    oklch(29.2% 0.027 159.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #212D39 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.