#222340

Closest named color: Oxford Blue (#1B263B). oklch(27.1% 0.053 280.7), rgb(34, 35, 64).

Aa

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

About this color

#222340 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.053 and its hue 281°. 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.19:1.

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

Values

HEX#222340
RGBrgb(34, 35, 64)
HSLhsl(238, 31%, 19%)
OKLCHoklch(27.1% 0.053 280.7)

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 #222340 15.19:1 AAA Lc -104.8 Preferred for body text
Black text on #222340 1.38:1 Fails Lc 0.0 Not readable
#222340 text on white 15.19:1 AAA Lc 102.0 Preferred for body text
#222340 text on black 1.38: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

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D4D7F1

    oklch(88.5% 0.036 280.4)

  4. Step 300

    300

    #B8BDE9

    oklch(80.9% 0.062 279.8)

  5. Step 400

    400

    #9599DF

    oklch(70.7% 0.102 280.9)

  6. Step 500

    500

    #7C7FD5

    oklch(63.2% 0.128 280.6)

  7. Step 600

    600

    #6666C3

    oklch(55.6% 0.141 280.8)

  8. Step 700

    700

    #5555A8

    oklch(49.2% 0.13 280.5)

  9. Step 800

    800

    #454688

    oklch(42.7% 0.107 280.2)

  10. Step 900

    900

    #3A3B6D

    oklch(37.7% 0.084 280.7)

  11. Step 950

    950 (this color)

    #222340

    oklch(27.1% 0.053 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#222340 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)#1927410.018
Deuteranopia (no green cones)#17253F0.018
Tritanopia (no blue cones)#19292E0.047
Achromatopsia (no color)#2626260.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #222340

    #222340

    oklch(27.1% 0.053 280.7)

  • #2C2703

    #2C2703

    oklch(27% 0.053 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222340

    #222340

    oklch(27.1% 0.053 280.7)

  • #102840

    #102840

    oklch(27.1% 0.054 250.5)

  • #2F1F3A

    #2F1F3A

    oklch(27.2% 0.053 310.5)

Open the analogous palette in the generator

Split complementary

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

  • #222340

    #222340

    oklch(27.1% 0.053 280.7)

  • #372104

    #372104

    oklch(27% 0.054 69.5)

  • #1D2C0E

    #1D2C0E

    oklch(27.1% 0.054 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222340

    #222340

    oklch(27.1% 0.053 280.7)

  • #3C1D11

    #3C1D11

    oklch(27.1% 0.053 41.5)

  • #072E1E

    #072E1E

    oklch(26.9% 0.053 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222340

    #222340

    oklch(27.1% 0.053 280.7)

  • #3C1B20

    #3C1B20

    oklch(27.1% 0.052 11.6)

  • #2C2703

    #2C2703

    oklch(27% 0.053 101.4)

  • #002E2C

    #002E2C

    oklch(27.2% 0.047 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 #222340, closest first.

Similar named colors

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

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