#22223E

Closest named color: Oxford Blue (#1B263B). oklch(26.7% 0.052 282.3), rgb(34, 34, 62).

Aa

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

About this color

#22223E is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.052 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.019 away. White text reads best on it, at 15.36:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.052)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.36:1

Values

HEX#22223E
RGBrgb(34, 34, 62)
HSLhsl(240, 29%, 19%)
OKLCHoklch(26.7% 0.052 282.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 #22223E 15.36:1 AAA Lc -105.0 Preferred for body text
Black text on #22223E 1.36:1 Fails Lc 0.0 Not readable
#22223E text on white 15.36:1 AAA Lc 102.2 Preferred for body text
#22223E text on black 1.36: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE8

    oklch(80.8% 0.062 282.9)

  5. Step 400

    400

    #9799DC

    oklch(70.7% 0.097 282.3)

  6. Step 500

    500

    #7F7ED3

    oklch(63.1% 0.126 282.7)

  7. Step 600

    600

    #6966C0

    oklch(55.6% 0.137 282.5)

  8. Step 700

    700

    #5754A5

    oklch(49% 0.126 282.3)

  9. Step 800

    800

    #474586

    oklch(42.6% 0.105 282.3)

  10. Step 900

    900

    #3C3B6B

    oklch(37.7% 0.081 282.8)

  11. Step 950

    950 (this color)

    #22223E

    oklch(26.7% 0.052 282.3)

Export this scale for Tailwind in the Tailwind colors tool

#22223E 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)#18263F0.019
Deuteranopia (no green cones)#17243D0.018
Tritanopia (no blue cones)#1A272D0.043
Achromatopsia (no color)#2525250.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #22223E

    #22223E

    oklch(26.7% 0.052 282.3)

  • #2B2604

    #2B2604

    oklch(26.6% 0.051 100.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22223E

    #22223E

    oklch(26.7% 0.052 282.3)

  • #12273E

    #12273E

    oklch(26.8% 0.051 252.2)

  • #2E1E38

    #2E1E38

    oklch(26.7% 0.051 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #22223E

    #22223E

    oklch(26.7% 0.052 282.3)

  • #352104

    #352104

    oklch(26.7% 0.052 72.4)

  • #1C2B0F

    #1C2B0F

    oklch(26.8% 0.052 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22223E

    #22223E

    oklch(26.7% 0.052 282.3)

  • #3A1C10

    #3A1C10

    oklch(26.6% 0.052 42.1)

  • #072D1E

    #072D1E

    oklch(26.6% 0.051 162.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22223E

    #22223E

    oklch(26.7% 0.052 282.3)

  • #3B1A1F

    #3B1A1F

    oklch(26.7% 0.052 11.7)

  • #2B2604

    #2B2604

    oklch(26.6% 0.051 100.9)

  • #002D2B

    #002D2B

    oklch(26.8% 0.046 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22223E 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.