#212E83

Closest named color: Marine Blue (#01386A). oklch(35% 0.142 270.4), rgb(33, 46, 131).

Aa

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

About this color

#212E83 is a dark, vivid blue. In OKLCH its lightness is 35%, its chroma 0.142 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.057 away. White text reads best on it, at 11.77:1.

Hue familyBlues
Lightnessdark (35%)
Chromavivid (0.142)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.78:1
White text11.77:1

Values

HEX#212E83
RGBrgb(33, 46, 131)
HSLhsl(232, 60%, 32%)
OKLCHoklch(35% 0.142 270.4)

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 #212E83 11.77:1 AAA Lc -100.2 Preferred for body text
Black text on #212E83 1.78:1 Fails Lc 7.4 Not readable
#212E83 text on white 11.77:1 AAA Lc 96.5 Preferred for body text
#212E83 text on black 1.78: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 900.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #A9BEFF

    oklch(80.9% 0.095 270.4)

  5. Step 400

    400

    #7D99FF

    oklch(70.7% 0.152 270.5)

  6. Step 500

    500

    #5E7BFF

    oklch(63.1% 0.198 270.4)

  7. Step 600

    600

    #455AFB

    oklch(55.6% 0.238 270.5)

  8. Step 700

    700

    #3748DB

    oklch(49% 0.222 270.3)

  9. Step 800

    800

    #2D3DB1

    oklch(42.7% 0.183 270.3)

  10. Step 900

    900 (this color)

    #212E83

    oklch(35% 0.142 270.4)

  11. Step 950

    950

    #172152

    oklch(27.1% 0.09 270.6)

Export this scale for Tailwind in the Tailwind colors tool

#212E83 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)#003C860.038
Deuteranopia (no green cones)#0033810.026
Tritanopia (no blue cones)#0044540.113
Achromatopsia (no color)#3838380.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #212E83

    #212E83

    oklch(35% 0.142 270.4)

  • #493800

    #493800

    oklch(35% 0.071 89.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212E83

    #212E83

    oklch(35% 0.142 270.4)

  • #003F60

    #003F60

    oklch(35.1% 0.08 240.1)

  • #481F77

    #481F77

    oklch(35% 0.142 300.4)

Open the analogous palette in the generator

Split complementary

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

  • #212E83

    #212E83

    oklch(35% 0.142 270.4)

  • #582E00

    #582E00

    oklch(34.9% 0.082 60.3)

  • #354000

    #354000

    oklch(34.9% 0.083 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212E83

    #212E83

    oklch(35% 0.142 270.4)

  • #720600

    #720600

    oklch(35% 0.139 30.3)

  • #00481E

    #00481E

    oklch(35.1% 0.096 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212E83

    #212E83

    oklch(35% 0.142 270.4)

  • #6F0037

    #6F0037

    oklch(35.1% 0.142 0.4)

  • #493800

    #493800

    oklch(35% 0.071 89.7)

  • #00453C

    #00453C

    oklch(35% 0.063 180.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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