#212E47

Closest named color: Space Cadet (#2B2D42). oklch(30.2% 0.049 262.8), rgb(33, 46, 71).

Aa

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

About this color

#212E47 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.049 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.017 away. White text reads best on it, at 13.57:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.049)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.54:1
White text13.57:1

Values

HEX#212E47
RGBrgb(33, 46, 71)
HSLhsl(219, 37%, 20%)
OKLCHoklch(30.2% 0.049 262.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 #212E47 13.57:1 AAA Lc -103.2 Preferred for body text
Black text on #212E47 1.54:1 Fails Lc 0.0 Not readable
#212E47 text on white 13.57:1 AAA Lc 100.0 Preferred for body text
#212E47 text on black 1.54: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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEF

    oklch(88.6% 0.032 261.7)

  4. Step 300

    300

    #ADC1E7

    oklch(80.9% 0.058 263.2)

  5. Step 400

    400

    #82A1DB

    oklch(70.8% 0.092 262.5)

  6. Step 500

    500

    #6288D1

    oklch(63.1% 0.119 262.6)

  7. Step 600

    600

    #4A71BE

    oklch(55.7% 0.128 262.7)

  8. Step 700

    700

    #3B5EA4

    oklch(49.1% 0.12 262.8)

  9. Step 800

    800

    #314D85

    oklch(42.7% 0.099 262.8)

  10. Step 900

    900

    #2B406A

    oklch(37.6% 0.077 263.1)

  11. Step 950

    950 (this color)

    #212E47

    oklch(30.2% 0.049 262.8)

Export this scale for Tailwind in the Tailwind colors tool

#212E47 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)#2530480.009
Deuteranopia (no green cones)#202C460.007
Tritanopia (no blue cones)#1133370.043
Achromatopsia (no color)#2E2E2E0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #212E47

    #212E47

    oklch(30.2% 0.049 262.8)

  • #3A2C0E

    #3A2C0E

    oklch(30.2% 0.049 83.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212E47

    #212E47

    oklch(30.2% 0.049 262.8)

  • #103243

    #103243

    oklch(30.1% 0.05 233.6)

  • #2F2945

    #2F2945

    oklch(30.1% 0.05 293)

Open the analogous palette in the generator

Split complementary

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

  • #212E47

    #212E47

    oklch(30.2% 0.049 262.8)

  • #422716

    #422716

    oklch(30.3% 0.049 52.1)

  • #2F3112

    #2F3112

    oklch(30.3% 0.049 112.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212E47

    #212E47

    oklch(30.2% 0.049 262.8)

  • #442423

    #442423

    oklch(30.2% 0.049 22.3)

  • #1F351E

    #1F351E

    oklch(30.3% 0.049 143.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212E47

    #212E47

    oklch(30.2% 0.049 262.8)

  • #412430

    #412430

    oklch(30.2% 0.048 354)

  • #3A2C0E

    #3A2C0E

    oklch(30.2% 0.049 83.8)

  • #0D362C

    #0D362C

    oklch(30.1% 0.049 173.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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