#172A22

Closest named color: Jet (#212529). oklch(26.6% 0.029 165.8), rgb(23, 42, 34).

Aa

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

About this color

#172A22 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.030 away. White text reads best on it, at 15.10:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.39:1
White text15.10:1

Values

HEX#172A22
RGBrgb(23, 42, 34)
HSLhsl(155, 29%, 13%)
OKLCHoklch(26.6% 0.029 165.8)

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 #172A22 15.10:1 AAA Lc -104.7 Preferred for body text
Black text on #172A22 1.39:1 Fails Lc 0.0 Not readable
#172A22 text on white 15.10:1 AAA Lc 101.9 Preferred for body text
#172A22 text on black 1.39: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

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CEDDD6

    oklch(88.4% 0.019 166.3)

  4. Step 300

    300

    #ADC8BB

    oklch(80.9% 0.034 164.9)

  5. Step 400

    400

    #80AC98

    oklch(70.7% 0.056 165.2)

  6. Step 500

    500

    #5E977F

    oklch(63% 0.071 165.7)

  7. Step 600

    600

    #438269

    oklch(55.7% 0.077 165.8)

  8. Step 700

    700

    #346E57

    oklch(49.2% 0.072 165.4)

  9. Step 800

    800

    #2C5947

    oklch(42.6% 0.059 165.6)

  10. Step 900

    900

    #28493C

    oklch(37.6% 0.045 166.8)

  11. Step 950

    950 (this color)

    #172A22

    oklch(26.6% 0.029 165.8)

Export this scale for Tailwind in the Tailwind colors tool

#172A22 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)#2928220.029
Deuteranopia (no green cones)#2625220.028
Tritanopia (no blue cones)#122A280.012
Achromatopsia (no color)#2626260.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A22

    #172A22

    oklch(26.6% 0.029 165.8)

  • #302028

    #302028

    oklch(26.6% 0.028 347.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A22

    #172A22

    oklch(26.6% 0.029 165.8)

  • #1F291A

    #1F291A

    oklch(26.6% 0.03 135.5)

  • #132A2A

    #132A2A

    oklch(26.6% 0.029 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #172A22

    #172A22

    oklch(26.6% 0.029 165.8)

  • #2B212F

    #2B212F

    oklch(26.6% 0.029 316.2)

  • #322021

    #322021

    oklch(26.6% 0.028 15.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A22

    #172A22

    oklch(26.6% 0.029 165.8)

  • #242333

    #242333

    oklch(26.5% 0.03 287)

  • #322119

    #322119

    oklch(26.6% 0.03 46.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A22

    #172A22

    oklch(26.6% 0.029 165.8)

  • #1C2634

    #1C2634

    oklch(26.6% 0.03 256.9)

  • #302028

    #302028

    oklch(26.6% 0.028 347.7)

  • #2E2315

    #2E2315

    oklch(26.5% 0.029 72.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172A22 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.