#222334

Closest named color: Dark (#1B2431). oklch(26.3% 0.032 281.4), rgb(34, 35, 52).

Aa

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

About this color

#222334 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.032 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.014 away. White text reads best on it, at 15.46:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.032)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.35:1
White text15.46:1

Values

HEX#222334
RGBrgb(34, 35, 52)
HSLhsl(237, 21%, 17%)
OKLCHoklch(26.3% 0.032 281.4)

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 #222334 15.46:1 AAA Lc -105.1 Preferred for body text
Black text on #222334 1.35:1 Fails Lc 0.0 Not readable
#222334 text on white 15.46:1 AAA Lc 102.4 Preferred for body text
#222334 text on black 1.35: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

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E7

    oklch(88.5% 0.021 279.9)

  4. Step 300

    300

    #BCBED9

    oklch(80.9% 0.038 282.2)

  5. Step 400

    400

    #9A9DC6

    oklch(70.8% 0.06 281.5)

  6. Step 500

    500

    #8184B7

    oklch(63% 0.077 281.4)

  7. Step 600

    600

    #6B6DA3

    oklch(55.5% 0.083 281.7)

  8. Step 700

    700

    #595B8C

    oklch(49.1% 0.078 281.3)

  9. Step 800

    800

    #494B72

    oklch(42.8% 0.064 281.1)

  10. Step 900

    900

    #3D3E5C

    oklch(37.6% 0.051 282.2)

  11. Step 950

    950 (this color)

    #222334

    oklch(26.3% 0.032 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#222334 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)#1E25350.009
Deuteranopia (no green cones)#1D24340.009
Tritanopia (no blue cones)#1E26290.027
Achromatopsia (no color)#2424240.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #222334

    #222334

    oklch(26.3% 0.032 281.4)

  • #282513

    #282513

    oklch(26.2% 0.031 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222334

    #222334

    oklch(26.3% 0.032 281.4)

  • #192634

    #192634

    oklch(26.4% 0.032 250.9)

  • #2A2030

    #2A2030

    oklch(26.2% 0.032 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #222334

    #222334

    oklch(26.3% 0.032 281.4)

  • #2F2213

    #2F2213

    oklch(26.3% 0.032 69.7)

  • #1F2818

    #1F2818

    oklch(26.3% 0.031 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222334

    #222334

    oklch(26.3% 0.032 281.4)

  • #322019

    #322019

    oklch(26.4% 0.031 42.1)

  • #162A20

    #162A20

    oklch(26.4% 0.032 161.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222334

    #222334

    oklch(26.3% 0.032 281.4)

  • #321E21

    #321E21

    oklch(26.2% 0.032 9.6)

  • #282513

    #282513

    oklch(26.2% 0.031 100)

  • #102A29

    #102A29

    oklch(26.4% 0.032 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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