#212E6E

Closest named color: Marine Blue (#01386A). oklch(33.1% 0.112 270.5), rgb(33, 46, 110).

Aa

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

About this color

#212E6E is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.112 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.036 away. White text reads best on it, at 12.49:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.68:1
White text12.49:1

Values

HEX#212E6E
RGBrgb(33, 46, 110)
HSLhsl(230, 54%, 28%)
OKLCHoklch(33.1% 0.112 270.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 #212E6E 12.49:1 AAA Lc -101.5 Preferred for body text
Black text on #212E6E 1.68:1 Fails Lc 0.0 Not readable
#212E6E text on white 12.49:1 AAA Lc 98.1 Preferred for body text
#212E6E text on black 1.68: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3E9FB

    oklch(93.5% 0.025 271.1)

  3. Step 200

    200

    #CDD8F9

    oklch(88.4% 0.047 270.8)

  4. Step 300

    300

    #ACBEF8

    oklch(80.8% 0.085 271.1)

  5. Step 400

    400

    #819BF4

    oklch(70.7% 0.134 270.4)

  6. Step 500

    500

    #637FF0

    oklch(63.1% 0.172 270.4)

  7. Step 600

    600

    #4C65DE

    oklch(55.5% 0.186 270.4)

  8. Step 700

    700

    #3E53C1

    oklch(49.1% 0.173 270.5)

  9. Step 800

    800

    #33459C

    oklch(42.8% 0.143 270.4)

  10. Step 900

    900 (this color)

    #212E6E

    oklch(33.1% 0.112 270.5)

  11. Step 950

    950

    #1A2349

    oklch(27.1% 0.071 270.9)

Export this scale for Tailwind in the Tailwind colors tool

#212E6E 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)#0037700.032
Deuteranopia (no green cones)#00306D0.028
Tritanopia (no blue cones)#003D490.091
Achromatopsia (no color)#3434340.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #212E6E

    #212E6E

    oklch(33.1% 0.112 270.5)

  • #433400

    #433400

    oklch(33.2% 0.068 90.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212E6E

    #212E6E

    oklch(33.1% 0.112 270.5)

  • #003A59

    #003A59

    oklch(33.2% 0.076 240.2)

  • #402365

    #402365

    oklch(33.1% 0.112 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #212E6E

    #212E6E

    oklch(33.1% 0.112 270.5)

  • #512A00

    #512A00

    oklch(33% 0.077 60.4)

  • #303B00

    #303B00

    oklch(33% 0.079 120.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212E6E

    #212E6E

    oklch(33.1% 0.112 270.5)

  • #63150C

    #63150C

    oklch(33.1% 0.112 30.4)

  • #00421B

    #00421B

    oklch(33.2% 0.09 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212E6E

    #212E6E

    oklch(33.1% 0.112 270.5)

  • #601333

    #601333

    oklch(33.2% 0.112 0.4)

  • #433400

    #433400

    oklch(33.2% 0.068 90.9)

  • #003F37

    #003F37

    oklch(33% 0.059 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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