#211B40

Closest named color: Oxford Blue (#1B263B). oklch(25.1% 0.068 288), rgb(33, 27, 64).

Aa

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

About this color

#211B40 is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.068 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.039 away. White text reads best on it, at 16.21:1.

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.068)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.29:1
White text16.21:1

Values

HEX#211B40
RGBrgb(33, 27, 64)
HSLhsl(250, 41%, 18%)
OKLCHoklch(25.1% 0.068 288)

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 #211B40 16.21:1 AAA Lc -105.6 Preferred for body text
Black text on #211B40 1.29:1 Fails Lc 0.0 Not readable
#211B40 text on white 16.21:1 AAA Lc 103.1 Preferred for body text
#211B40 text on black 1.29: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300

    #BDB9F2

    oklch(80.9% 0.08 287.7)

  5. Step 400

    400

    #9D93EC

    oklch(70.8% 0.128 287.8)

  6. Step 500

    500

    #8775E6

    oklch(63.2% 0.165 288.1)

  7. Step 600

    600

    #725BD3

    oklch(55.6% 0.177 288.1)

  8. Step 700

    700

    #604AB7

    oklch(49.2% 0.165 288.1)

  9. Step 800

    800

    #4E3D94

    oklch(42.7% 0.137 288.2)

  10. Step 900

    900

    #403576

    oklch(37.6% 0.107 287.9)

  11. Step 950

    950 (this color)

    #211B40

    oklch(25.1% 0.068 288)

Export this scale for Tailwind in the Tailwind colors tool

#211B40 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)#0B21410.035
Deuteranopia (no green cones)#0B1F3F0.034
Tritanopia (no blue cones)#18232A0.057
Achromatopsia (no color)#2020200.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #211B40

    #211B40

    oklch(25.1% 0.068 288)

  • #252300

    #252300

    oklch(25% 0.054 106.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #211B40

    #211B40

    oklch(25.1% 0.068 288)

  • #0B2142

    #0B2142

    oklch(25.1% 0.068 258.5)

  • #2F1637

    #2F1637

    oklch(25.2% 0.068 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #211B40

    #211B40

    oklch(25.1% 0.068 288)

  • #2F1E00

    #2F1E00

    oklch(25% 0.052 78.5)

  • #0F2905

    #0F2905

    oklch(25.1% 0.068 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #211B40

    #211B40

    oklch(25.1% 0.068 288)

  • #3B1500

    #3B1500

    oklch(25.1% 0.069 47.9)

  • #00291D

    #00291D

    oklch(25% 0.05 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #211B40

    #211B40

    oklch(25.1% 0.068 288)

  • #3C1115

    #3C1115

    oklch(25% 0.068 18)

  • #252300

    #252300

    oklch(25% 0.054 106.5)

  • #002829

    #002829

    oklch(25.1% 0.043 197.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #211B40 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.