#172829

Closest named color: Jet (#212529). oklch(26.2% 0.023 200.6), rgb(23, 40, 41).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.30:1

Values

HEX#172829
RGBrgb(23, 40, 41)
HSLhsl(183, 28%, 13%)
OKLCHoklch(26.2% 0.023 200.6)

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 #172829 15.30:1 AAA Lc -104.9 Preferred for body text
Black text on #172829 1.37:1 Fails Lc 0.0 Not readable
#172829 text on white 15.30:1 AAA Lc 102.2 Preferred for body text
#172829 text on black 1.37: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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E4EBEC

    oklch(93.5% 0.008 207.1)

  3. Step 200

    200

    #CEDCDD

    oklch(88.4% 0.015 202)

  4. Step 300

    300

    #ADC6C7

    oklch(80.8% 0.027 199.6)

  5. Step 400

    400

    #82A9AB

    oklch(70.7% 0.042 200.2)

  6. Step 500

    500

    #619497

    oklch(63.2% 0.055 200.6)

  7. Step 600

    600

    #467E81

    oklch(55.6% 0.059 200.1)

  8. Step 700

    700

    #376A6D

    oklch(49% 0.055 200.5)

  9. Step 800

    800

    #2E5759

    oklch(42.8% 0.046 199.7)

  10. Step 900

    900

    #2A4749

    oklch(37.6% 0.035 201.4)

  11. Step 950

    950 (this color)

    #172829

    oklch(26.2% 0.023 200.6)

Export this scale for Tailwind in the Tailwind colors tool

#172829 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)#2627290.024
Deuteranopia (no green cones)#2224290.021
Tritanopia (no blue cones)#1029280.009
Achromatopsia (no color)#2525250.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #172829

    #172829

    oklch(26.2% 0.023 200.6)

  • #2F2020

    #2F2020

    oklch(26.2% 0.023 18.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172829

    #172829

    oklch(26.2% 0.023 200.6)

  • #192823

    #192823

    oklch(26.1% 0.022 171.8)

  • #19272E

    #19272E

    oklch(26.3% 0.023 230.4)

Open the analogous palette in the generator

Split complementary

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

  • #172829

    #172829

    oklch(26.2% 0.023 200.6)

  • #2D2026

    #2D2026

    oklch(26.2% 0.023 349.4)

  • #2E221B

    #2E221B

    oklch(26.4% 0.022 51.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172829

    #172829

    oklch(26.2% 0.023 200.6)

  • #2A212B

    #2A212B

    oklch(26.2% 0.022 323)

  • #2A2418

    #2A2418

    oklch(26.3% 0.023 84.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172829

    #172829

    oklch(26.2% 0.023 200.6)

  • #24232F

    #24232F

    oklch(26.3% 0.022 288.6)

  • #2F2020

    #2F2020

    oklch(26.2% 0.023 18.8)

  • #252619

    #252619

    oklch(26.3% 0.023 111.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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