#212237

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.039 281.2), rgb(33, 34, 55).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.039)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.57:1

Values

HEX#212237
RGBrgb(33, 34, 55)
HSLhsl(237, 25%, 17%)
OKLCHoklch(26.1% 0.039 281.2)

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 #212237 15.57:1 AAA Lc -105.1 Preferred for body text
Black text on #212237 1.34:1 Fails Lc 0.0 Not readable
#212237 text on white 15.57:1 AAA Lc 102.5 Preferred for body text
#212237 text on black 1.34: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDF

    oklch(81% 0.046 281.2)

  5. Step 400

    400

    #989CCE

    oklch(70.8% 0.073 280.8)

  6. Step 500

    500

    #7F82C2

    oklch(63% 0.096 281.2)

  7. Step 600

    600

    #696BAE

    oklch(55.5% 0.103 281.2)

  8. Step 700

    700

    #585996

    oklch(49.1% 0.097 281.5)

  9. Step 800

    800

    #484979

    oklch(42.7% 0.079 281.6)

  10. Step 900

    900

    #3C3D62

    oklch(37.6% 0.063 281.7)

  11. Step 950

    950 (this color)

    #212237

    oklch(26.1% 0.039 281.2)

Export this scale for Tailwind in the Tailwind colors tool

#212237 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)#1C25380.012
Deuteranopia (no green cones)#1B23360.011
Tritanopia (no blue cones)#1B262A0.034
Achromatopsia (no color)#2424240.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #212237

    #212237

    oklch(26.1% 0.039 281.2)

  • #28250D

    #28250D

    oklch(26.1% 0.039 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212237

    #212237

    oklch(26.1% 0.039 281.2)

  • #162637

    #162637

    oklch(26.3% 0.039 250.9)

  • #2B1F32

    #2B1F32

    oklch(26.2% 0.038 312.6)

Open the analogous palette in the generator

Split complementary

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

  • #212237

    #212237

    oklch(26.1% 0.039 281.2)

  • #30210E

    #30210E

    oklch(26.1% 0.039 71.3)

  • #1E2814

    #1E2814

    oklch(26.1% 0.038 130.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212237

    #212237

    oklch(26.1% 0.039 281.2)

  • #351E15

    #351E15

    oklch(26.3% 0.04 42.1)

  • #112A1E

    #112A1E

    oklch(26.1% 0.039 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212237

    #212237

    oklch(26.1% 0.039 281.2)

  • #351C20

    #351C20

    oklch(26.2% 0.04 9.8)

  • #28250D

    #28250D

    oklch(26.1% 0.039 102.2)

  • #072A29

    #072A29

    oklch(26% 0.039 192.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #212237 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.