#212B5A

Closest named color: Marine (#042E60). oklch(30.8% 0.085 271.6), rgb(33, 43, 90).

Aa

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

About this color

#212B5A is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.085 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.029 away. White text reads best on it, at 13.48:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.55:1
White text13.48:1

Values

HEX#212B5A
RGBrgb(33, 43, 90)
HSLhsl(229, 46%, 24%)
OKLCHoklch(30.8% 0.085 271.6)

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 #212B5A 13.48:1 AAA Lc -102.9 Preferred for body text
Black text on #212B5A 1.55:1 Fails Lc 0.0 Not readable
#212B5A text on white 13.48:1 AAA Lc 99.8 Preferred for body text
#212B5A text on black 1.55: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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FE

    oklch(93.6% 0.029 273.1)

  3. Step 200

    200

    #CCD8FF

    oklch(88.6% 0.055 271.8)

  4. Step 300

    300

    #AABDFF

    oklch(80.8% 0.096 271.7)

  5. Step 400

    400

    #7F98FF

    oklch(70.6% 0.153 271.7)

  6. Step 500

    500

    #617AFF

    oklch(63% 0.198 271.6)

  7. Step 600

    600

    #4A5DF3

    oklch(55.6% 0.223 271.4)

  8. Step 700

    700

    #3C4BD4

    oklch(49.1% 0.208 271.4)

  9. Step 800

    800

    #313FAB

    oklch(42.8% 0.172 271.3)

  10. Step 900

    900

    #2A3787

    oklch(37.7% 0.134 271.4)

  11. Step 950

    950 (this color)

    #212B5A

    oklch(30.8% 0.085 271.6)

Export this scale for Tailwind in the Tailwind colors tool

#212B5A 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)#14315C0.021
Deuteranopia (no green cones)#0A2C590.025
Tritanopia (no blue cones)#00363E0.075
Achromatopsia (no color)#2F2F2F0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #212B5A

    #212B5A

    oklch(30.8% 0.085 271.6)

  • #3B2E00

    #3B2E00

    oklch(30.7% 0.063 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212B5A

    #212B5A

    oklch(30.8% 0.085 271.6)

  • #003351

    #003351

    oklch(30.8% 0.073 242)

  • #382353

    #382353

    oklch(30.8% 0.085 301.8)

Open the analogous palette in the generator

Split complementary

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

  • #212B5A

    #212B5A

    oklch(30.8% 0.085 271.6)

  • #492600

    #492600

    oklch(30.9% 0.071 61.5)

  • #2A3500

    #2A3500

    oklch(30.8% 0.074 121.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212B5A

    #212B5A

    oklch(30.8% 0.085 271.6)

  • #521B12

    #521B12

    oklch(30.7% 0.085 31.6)

  • #003B19

    #003B19

    oklch(30.8% 0.082 151.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212B5A

    #212B5A

    oklch(30.8% 0.085 271.6)

  • #50192D

    #50192D

    oklch(30.7% 0.085 0.9)

  • #3B2E00

    #3B2E00

    oklch(30.7% 0.063 91.8)

  • #003932

    #003932

    oklch(30.9% 0.055 181.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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