#212236

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.037 281.3), rgb(33, 34, 54).

Aa

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

About this color

#212236 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.037 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.59:1.

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

Values

HEX#212236
RGBrgb(33, 34, 54)
HSLhsl(237, 24%, 17%)
OKLCHoklch(26.1% 0.037 281.3)

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 #212236 15.59:1 AAA Lc -105.2 Preferred for body text
Black text on #212236 1.34:1 Fails Lc 0.0 Not readable
#212236 text on white 15.59:1 AAA Lc 102.5 Preferred for body text
#212236 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDD

    oklch(80.9% 0.044 281)

  5. Step 400

    400

    #989CCC

    oklch(70.7% 0.07 280.7)

  6. Step 500

    500

    #8083BF

    oklch(63.1% 0.09 281.3)

  7. Step 600

    600

    #6A6CAC

    oklch(55.7% 0.099 281.3)

  8. Step 700

    700

    #585A93

    oklch(49.2% 0.091 281)

  9. Step 800

    800

    #484977

    oklch(42.6% 0.076 281.7)

  10. Step 900

    900

    #3C3E60

    oklch(37.8% 0.058 280.7)

  11. Step 950

    950 (this color)

    #212236

    oklch(26.1% 0.037 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#212236 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)#1C24370.010
Deuteranopia (no green cones)#1B23360.010
Tritanopia (no blue cones)#1B26290.034
Achromatopsia (no color)#2424240.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #212236

    #212236

    oklch(26.1% 0.037 281.3)

  • #28250E

    #28250E

    oklch(26.1% 0.038 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212236

    #212236

    oklch(26.1% 0.037 281.3)

  • #162536

    #162536

    oklch(26% 0.038 252.4)

  • #2A1F32

    #2A1F32

    oklch(26.1% 0.038 310.3)

Open the analogous palette in the generator

Split complementary

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

  • #212236

    #212236

    oklch(26.1% 0.037 281.3)

  • #30210F

    #30210F

    oklch(26.1% 0.037 70)

  • #1E2814

    #1E2814

    oklch(26.1% 0.038 130.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212236

    #212236

    oklch(26.1% 0.037 281.3)

  • #341E16

    #341E16

    oklch(26.2% 0.038 40.7)

  • #122A1E

    #122A1E

    oklch(26.1% 0.038 160.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212236

    #212236

    oklch(26.1% 0.037 281.3)

  • #341C20

    #341C20

    oklch(26% 0.038 9.3)

  • #28250E

    #28250E

    oklch(26.1% 0.038 101.9)

  • #092A29

    #092A29

    oklch(26.1% 0.038 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 #212236, closest first.

Similar named colors

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

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