#22312D

Closest named color: Gunmetal (#293241). oklch(29.8% 0.021 176.5), rgb(34, 49, 45).

Aa

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

About this color

#22312D is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.039 away. White text reads best on it, at 13.59:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.54:1
White text13.59:1

Values

HEX#22312D
RGBrgb(34, 49, 45)
HSLhsl(164, 18%, 16%)
OKLCHoklch(29.8% 0.021 176.5)

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 #22312D 13.59:1 AAA Lc -103.2 Preferred for body text
Black text on #22312D 1.54:1 Fails Lc 0.0 Not readable
#22312D text on white 13.59:1 AAA Lc 100.1 Preferred for body text
#22312D text on black 1.54: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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCD9

    oklch(88.5% 0.014 179.4)

  4. Step 300

    300

    #B0C6C0

    oklch(80.8% 0.025 177.5)

  5. Step 400

    400

    #87A9A0

    oklch(70.7% 0.04 177.2)

  6. Step 500

    500

    #689488

    oklch(63.1% 0.051 175.8)

  7. Step 600

    600

    #4E7E72

    oklch(55.5% 0.056 176.5)

  8. Step 700

    700

    #3F6B60

    oklch(49.2% 0.052 176.3)

  9. Step 800

    800

    #34574E

    oklch(42.7% 0.044 176)

  10. Step 900

    900

    #2E4841

    oklch(37.8% 0.034 175.7)

  11. Step 950

    950 (this color)

    #22312D

    oklch(29.8% 0.021 176.5)

Export this scale for Tailwind in the Tailwind colors tool

#22312D 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)#302F2D0.023
Deuteranopia (no green cones)#2D2D2D0.021
Tritanopia (no blue cones)#1E31300.007
Achromatopsia (no color)#2E2E2E0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #22312D

    #22312D

    oklch(29.8% 0.021 176.5)

  • #36292E

    #36292E

    oklch(29.8% 0.021 353.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22312D

    #22312D

    oklch(29.8% 0.021 176.5)

  • #273027

    #273027

    oklch(29.7% 0.02 145)

  • #213133

    #213133

    oklch(30% 0.021 205.7)

Open the analogous palette in the generator

Split complementary

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

  • #22312D

    #22312D

    oklch(29.8% 0.021 176.5)

  • #332A33

    #332A33

    oklch(29.9% 0.02 326.1)

  • #372928

    #372928

    oklch(29.7% 0.021 23.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22312D

    #22312D

    oklch(29.8% 0.021 176.5)

  • #2E2B37

    #2E2B37

    oklch(29.7% 0.022 296.5)

  • #362B23

    #362B23

    oklch(29.9% 0.021 57.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22312D

    #22312D

    oklch(29.8% 0.021 176.5)

  • #282D38

    #282D38

    oklch(29.7% 0.021 265.9)

  • #36292E

    #36292E

    oklch(29.8% 0.021 353.4)

  • #322D21

    #322D21

    oklch(29.9% 0.022 88.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22312D 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.