#22224C

Closest named color: Oxford Blue (#1B263B). oklch(27.7% 0.076 280.3), rgb(34, 34, 76).

Aa

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

About this color

#22224C is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.076 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 14.98:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.40:1
White text14.98:1

Values

HEX#22224C
RGBrgb(34, 34, 76)
HSLhsl(240, 38%, 22%)
OKLCHoklch(27.7% 0.076 280.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 #22224C 14.98:1 AAA Lc -104.5 Preferred for body text
Black text on #22224C 1.40:1 Fails Lc 0.0 Not readable
#22224C text on white 14.98:1 AAA Lc 101.7 Preferred for body text
#22224C text on black 1.40: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B5BBFA

    oklch(81% 0.089 280)

  5. Step 400

    400

    #9095F7

    oklch(70.7% 0.142 279.9)

  6. Step 500

    500

    #7876F4

    oklch(63% 0.184 280.5)

  7. Step 600

    600

    #635BE3

    oklch(55.6% 0.2 280.3)

  8. Step 700

    700

    #524AC5

    oklch(49.1% 0.185 280)

  9. Step 800

    800

    #433E9F

    oklch(42.8% 0.152 280.1)

  10. Step 900

    900

    #38367E

    oklch(37.7% 0.118 280.3)

  11. Step 950

    950 (this color)

    #22224C

    oklch(27.7% 0.076 280.3)

Export this scale for Tailwind in the Tailwind colors tool

#22224C 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)#0E284E0.029
Deuteranopia (no green cones)#0A254B0.031
Tritanopia (no blue cones)#122B330.065
Achromatopsia (no color)#2727270.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #22224C

    #22224C

    oklch(27.7% 0.076 280.3)

  • #2F2800

    #2F2800

    oklch(27.6% 0.057 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22224C

    #22224C

    oklch(27.7% 0.076 280.3)

  • #02294B

    #02294B

    oklch(27.6% 0.075 250)

  • #341C43

    #341C43

    oklch(27.8% 0.074 310.9)

Open the analogous palette in the generator

Split complementary

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

  • #22224C

    #22224C

    oklch(27.7% 0.076 280.3)

  • #3A2200

    #3A2200

    oklch(27.6% 0.06 70.9)

  • #1B2F00

    #1B2F00

    oklch(27.7% 0.075 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22224C

    #22224C

    oklch(27.7% 0.076 280.3)

  • #461806

    #461806

    oklch(27.8% 0.076 40.4)

  • #00311D

    #00311D

    oklch(27.6% 0.062 160)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22224C

    #22224C

    oklch(27.7% 0.076 280.3)

  • #46151F

    #46151F

    oklch(27.8% 0.075 11.1)

  • #2F2800

    #2F2800

    oklch(27.6% 0.057 99.1)

  • #002F2D

    #002F2D

    oklch(27.5% 0.048 190.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22224C 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.