#212A47

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.055 269.7), rgb(33, 42, 71).

Aa

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

About this color

#212A47 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.055 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.023 away. White text reads best on it, at 14.12:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.055)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.12:1

Values

HEX#212A47
RGBrgb(33, 42, 71)
HSLhsl(226, 37%, 20%)
OKLCHoklch(29.2% 0.055 269.7)

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 #212A47 14.12:1 AAA Lc -103.7 Preferred for body text
Black text on #212A47 1.48:1 Fails Lc 0.0 Not readable
#212A47 text on white 14.12:1 AAA Lc 100.7 Preferred for body text
#212A47 text on black 1.48: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #D0D9F2

    oklch(88.6% 0.036 269.9)

  4. Step 300

    300

    #B0BFEB

    oklch(80.8% 0.065 270.2)

  5. Step 400

    400

    #879DE2

    oklch(70.6% 0.104 270.1)

  6. Step 500

    500

    #6A84D9

    oklch(63.1% 0.132 269.5)

  7. Step 600

    600

    #536CC7

    oklch(55.7% 0.144 269.7)

  8. Step 700

    700

    #4359AC

    oklch(49% 0.135 269.7)

  9. Step 800

    800

    #37498B

    oklch(42.6% 0.111 269.7)

  10. Step 900

    900

    #303E6F

    oklch(37.7% 0.086 269.9)

  11. Step 950

    950 (this color)

    #212A47

    oklch(29.2% 0.055 269.7)

Export this scale for Tailwind in the Tailwind colors tool

#212A47 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)#1F2D480.010
Deuteranopia (no green cones)#1B2A460.009
Tritanopia (no blue cones)#1230350.048
Achromatopsia (no color)#2B2B2B0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #212A47

    #212A47

    oklch(29.2% 0.055 269.7)

  • #362A05

    #362A05

    oklch(29.1% 0.054 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212A47

    #212A47

    oklch(29.2% 0.055 269.7)

  • #0D2F44

    #0D2F44

    oklch(29.2% 0.054 239.8)

  • #302543

    #302543

    oklch(29.2% 0.055 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #212A47

    #212A47

    oklch(29.2% 0.055 269.7)

  • #3F240C

    #3F240C

    oklch(29% 0.055 59.4)

  • #28300D

    #28300D

    oklch(29.3% 0.056 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212A47

    #212A47

    oklch(29.2% 0.055 269.7)

  • #43201B

    #43201B

    oklch(29.1% 0.055 29.3)

  • #15331D

    #15331D

    oklch(29.1% 0.054 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212A47

    #212A47

    oklch(29.2% 0.055 269.7)

  • #411F2B

    #411F2B

    oklch(29.1% 0.055 358.6)

  • #362A05

    #362A05

    oklch(29.1% 0.054 90.1)

  • #00342D

    #00342D

    oklch(29.1% 0.053 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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