#172E32

Closest named color: Jet (#212529). oklch(28.4% 0.03 209.8), rgb(23, 46, 50).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.47:1
White text14.25:1

Values

HEX#172E32
RGBrgb(23, 46, 50)
HSLhsl(189, 37%, 14%)
OKLCHoklch(28.4% 0.03 209.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 #172E32 14.25:1 AAA Lc -103.9 Preferred for body text
Black text on #172E32 1.47:1 Fails Lc 0.0 Not readable
#172E32 text on white 14.25:1 AAA Lc 100.9 Preferred for body text
#172E32 text on black 1.47: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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECEE

    oklch(93.7% 0.01 212.5)

  3. Step 200

    200

    #CBDDE0

    oklch(88.5% 0.02 208.8)

  4. Step 300

    300

    #A7C7CD

    oklch(80.8% 0.035 210.2)

  5. Step 400

    400

    #77ABB4

    oklch(70.8% 0.056 209.4)

  6. Step 500

    500

    #5096A2

    oklch(63.2% 0.073 209.9)

  7. Step 600

    600

    #30808D

    oklch(55.7% 0.079 210)

  8. Step 700

    700

    #216C77

    oklch(49.1% 0.073 209.1)

  9. Step 800

    800

    #1E5861

    oklch(42.7% 0.061 209.4)

  10. Step 900

    900

    #1F484F

    oklch(37.5% 0.047 210.1)

  11. Step 950

    950 (this color)

    #172E32

    oklch(28.4% 0.03 209.8)

Export this scale for Tailwind in the Tailwind colors tool

#172E32 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)#2A2C320.028
Deuteranopia (no green cones)#2629320.026
Tritanopia (no blue cones)#0A302F0.016
Achromatopsia (no color)#2B2B2B0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #172E32

    #172E32

    oklch(28.4% 0.03 209.8)

  • #372421

    #372421

    oklch(28.3% 0.03 29.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172E32

    #172E32

    oklch(28.4% 0.03 209.8)

  • #182F2A

    #182F2A

    oklch(28.4% 0.031 178.5)

  • #1C2C37

    #1C2C37

    oklch(28.4% 0.029 239.2)

Open the analogous palette in the generator

Split complementary

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

  • #172E32

    #172E32

    oklch(28.4% 0.03 209.8)

  • #362429

    #362429

    oklch(28.4% 0.029 0.8)

  • #35261B

    #35261B

    oklch(28.3% 0.03 57.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172E32

    #172E32

    oklch(28.4% 0.03 209.8)

  • #322531

    #322531

    oklch(28.5% 0.028 328.8)

  • #302918

    #302918

    oklch(28.4% 0.03 88)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172E32

    #172E32

    oklch(28.4% 0.03 209.8)

  • #2C2737

    #2C2737

    oklch(28.5% 0.03 298.8)

  • #372421

    #372421

    oklch(28.3% 0.03 29.1)

  • #282C1B

    #282C1B

    oklch(28.4% 0.03 119.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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