#22212C

Closest named color: Dark (#1B2431). oklch(25.4% 0.021 289), rgb(34, 33, 44).

Aa

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

About this color

#22212C is a dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.015 away. White text reads best on it, at 15.88:1.

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.32:1
White text15.88:1

Values

HEX#22212C
RGBrgb(34, 33, 44)
HSLhsl(245, 14%, 15%)
OKLCHoklch(25.4% 0.021 289)

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 #22212C 15.88:1 AAA Lc -105.4 Preferred for body text
Black text on #22212C 1.32:1 Fails Lc 0.0 Not readable
#22212C text on white 15.88:1 AAA Lc 102.8 Preferred for body text
#22212C text on black 1.32: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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D8D8E2

    oklch(88.5% 0.014 286.1)

  4. Step 300

    300

    #C0BED0

    oklch(80.9% 0.025 290.9)

  5. Step 400

    400

    #9F9DB8

    oklch(70.7% 0.039 288.8)

  6. Step 500

    500

    #8885A6

    oklch(63.1% 0.049 289.1)

  7. Step 600

    600

    #726E92

    oklch(55.5% 0.055 289.6)

  8. Step 700

    700

    #5F5C7C

    oklch(49% 0.051 288.7)

  9. Step 800

    800

    #4E4B65

    oklch(42.6% 0.043 289.7)

  10. Step 900

    900

    #413F52

    oklch(37.7% 0.032 289.6)

  11. Step 950

    950 (this color)

    #22212C

    oklch(25.4% 0.021 289)

Export this scale for Tailwind in the Tailwind colors tool

#22212C 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)#1E222C0.008
Deuteranopia (no green cones)#1E222C0.008
Tritanopia (no blue cones)#2023250.018
Achromatopsia (no color)#2222220.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #22212C

    #22212C

    oklch(25.4% 0.021 289)

  • #232318

    #232318

    oklch(25.2% 0.02 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22212C

    #22212C

    oklch(25.4% 0.021 289)

  • #1D232D

    #1D232D

    oklch(25.5% 0.021 260.6)

  • #271F29

    #271F29

    oklch(25.3% 0.022 319.5)

Open the analogous palette in the generator

Split complementary

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

  • #22212C

    #22212C

    oklch(25.4% 0.021 289)

  • #282117

    #282117

    oklch(25.3% 0.021 76.4)

  • #1E251B

    #1E251B

    oklch(25.4% 0.021 136.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22212C

    #22212C

    oklch(25.4% 0.021 289)

  • #2B201A

    #2B201A

    oklch(25.5% 0.02 50)

  • #192621

    #192621

    oklch(25.5% 0.02 169)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22212C

    #22212C

    oklch(25.4% 0.021 289)

  • #2C1F1F

    #2C1F1F

    oklch(25.5% 0.02 18.6)

  • #232318

    #232318

    oklch(25.2% 0.02 107.7)

  • #162626

    #162626

    oklch(25.4% 0.022 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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