#212F53

Closest named color: Prussian Blue (#1D3557). oklch(31.2% 0.068 266.5), rgb(33, 47, 83).

Aa

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

About this color

#212F53 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.068 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 13.15:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.068)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.59:1
White text13.15:1

Values

HEX#212F53
RGBrgb(33, 47, 83)
HSLhsl(223, 43%, 23%)
OKLCHoklch(31.2% 0.068 266.5)

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 #212F53 13.15:1 AAA Lc -102.6 Preferred for body text
Black text on #212F53 1.59:1 Fails Lc 0.0 Not readable
#212F53 text on white 13.15:1 AAA Lc 99.4 Preferred for body text
#212F53 text on black 1.59: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CCD9F7

    oklch(88.5% 0.044 266.9)

  4. Step 300

    300

    #A9C0F5

    oklch(80.9% 0.079 266.4)

  5. Step 400

    400

    #7C9DF0

    oklch(70.6% 0.128 266.7)

  6. Step 500

    500

    #5C82EB

    oklch(63% 0.163 266.8)

  7. Step 600

    600

    #4369DA

    oklch(55.6% 0.178 266.6)

  8. Step 700

    700

    #3557BD

    oklch(49.1% 0.165 266.4)

  9. Step 800

    800

    #2C4899

    oklch(42.8% 0.137 266.3)

  10. Step 900

    900

    #273D7A

    oklch(37.7% 0.107 266.4)

  11. Step 950

    950 (this color)

    #212F53

    oklch(31.2% 0.068 266.5)

Export this scale for Tailwind in the Tailwind colors tool

#212F53 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)#2033540.012
Deuteranopia (no green cones)#1A2E520.010
Tritanopia (no blue cones)#05373D0.060
Achromatopsia (no color)#3030300.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #212F53

    #212F53

    oklch(31.2% 0.068 266.5)

  • #3F2E00

    #3F2E00

    oklch(31.2% 0.064 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212F53

    #212F53

    oklch(31.2% 0.068 266.5)

  • #00354E

    #00354E

    oklch(31.1% 0.067 236.4)

  • #34294F

    #34294F

    oklch(31.3% 0.067 295.6)

Open the analogous palette in the generator

Split complementary

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

  • #212F53

    #212F53

    oklch(31.2% 0.068 266.5)

  • #4A2708

    #4A2708

    oklch(31.3% 0.067 57.3)

  • #2F3504

    #2F3504

    oklch(31.3% 0.068 116.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212F53

    #212F53

    oklch(31.2% 0.068 266.5)

  • #4E221E

    #4E221E

    oklch(31.3% 0.067 26.9)

  • #163A1B

    #163A1B

    oklch(31.3% 0.068 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212F53

    #212F53

    oklch(31.2% 0.068 266.5)

  • #4B2132

    #4B2132

    oklch(31.3% 0.067 356.1)

  • #3F2E00

    #3F2E00

    oklch(31.2% 0.064 86.4)

  • #003A30

    #003A30

    oklch(31.2% 0.058 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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