#222238

Closest named color: Oxford Blue (#1B263B). oklch(26.3% 0.041 283.2), rgb(34, 34, 56).

Aa

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

About this color

#222238 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.041 and its hue 283°. 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.51:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.041)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.51:1

Values

HEX#222238
RGBrgb(34, 34, 56)
HSLhsl(240, 24%, 18%)
OKLCHoklch(26.3% 0.041 283.2)

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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EB

    oklch(88.4% 0.027 283.5)

  4. Step 300

    300

    #BCBDE0

    oklch(80.9% 0.049 284)

  5. Step 400

    400

    #9A9BD0

    oklch(70.8% 0.077 283.4)

  6. Step 500

    500

    #8181C4

    oklch(63.1% 0.1 283.2)

  7. Step 600

    600

    #6B6AB0

    oklch(55.6% 0.107 283)

  8. Step 700

    700

    #5A5897

    oklch(49.1% 0.099 283.6)

  9. Step 800

    800

    #49487B

    oklch(42.7% 0.083 283.2)

  10. Step 900

    900

    #3D3D63

    oklch(37.8% 0.064 282.9)

  11. Step 950

    950 (this color)

    #222238

    oklch(26.3% 0.041 283.2)

Export this scale for Tailwind in the Tailwind colors tool

#222238 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)#1B25390.014
Deuteranopia (no green cones)#1A23370.014
Tritanopia (no blue cones)#1C262A0.035
Achromatopsia (no color)#2424240.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #222238

    #222238

    oklch(26.3% 0.041 283.2)

  • #28260C

    #28260C

    oklch(26.4% 0.042 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222238

    #222238

    oklch(26.3% 0.041 283.2)

  • #162638

    #162638

    oklch(26.4% 0.04 252.2)

  • #2C1F33

    #2C1F33

    oklch(26.4% 0.041 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #222238

    #222238

    oklch(26.3% 0.041 283.2)

  • #31210C

    #31210C

    oklch(26.2% 0.041 71.7)

  • #1D2914

    #1D2914

    oklch(26.3% 0.041 132.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222238

    #222238

    oklch(26.3% 0.041 283.2)

  • #351E14

    #351E14

    oklch(26.3% 0.04 44.1)

  • #0F2B1F

    #0F2B1F

    oklch(26.3% 0.041 163.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222238

    #222238

    oklch(26.3% 0.041 283.2)

  • #361C1F

    #361C1F

    oklch(26.3% 0.041 12.9)

  • #28260C

    #28260C

    oklch(26.4% 0.042 104.9)

  • #052B2A

    #052B2A

    oklch(26.3% 0.041 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 #222238, closest first.

Similar named colors

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

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