#172F39

Closest named color: Gunmetal (#293241). oklch(29% 0.035 227), rgb(23, 47, 57).

Aa

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

About this color

#172F39 is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.035 and its hue 227°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.032 away. White text reads best on it, at 13.98:1.

Hue familyTeals and cyans
Lightnessdark (29%)
Chromamuted (0.035)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.50:1
White text13.98:1

Values

HEX#172F39
RGBrgb(23, 47, 57)
HSLhsl(198, 43%, 16%)
OKLCHoklch(29% 0.035 227)

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 #172F39 13.98:1 AAA Lc -103.6 Preferred for body text
Black text on #172F39 1.50:1 Fails Lc 0.0 Not readable
#172F39 text on white 13.98:1 AAA Lc 100.5 Preferred for body text
#172F39 text on black 1.50: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECF0

    oklch(93.7% 0.012 223.5)

  3. Step 200

    200

    #CADDE5

    oklch(88.6% 0.023 224.9)

  4. Step 300

    300

    #A5C7D6

    oklch(81% 0.042 226.4)

  5. Step 400

    400

    #73A9C1

    oklch(70.6% 0.067 227.6)

  6. Step 500

    500

    #4B94B1

    oklch(63.1% 0.085 226.5)

  7. Step 600

    600

    #297E9D

    oklch(55.7% 0.092 226.7)

  8. Step 700

    700

    #1A6A86

    oklch(49.1% 0.085 226.7)

  9. Step 800

    800

    #19566D

    oklch(42.6% 0.071 227.6)

  10. Step 900

    900

    #1C4758

    oklch(37.6% 0.055 227.1)

  11. Step 950

    950 (this color)

    #172F39

    oklch(29% 0.035 227)

Export this scale for Tailwind in the Tailwind colors tool

#172F39 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)#2A2E3A0.027
Deuteranopia (no green cones)#252A390.024
Tritanopia (no blue cones)#0432320.025
Achromatopsia (no color)#2C2C2C0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F39

    #172F39

    oklch(29% 0.035 227)

  • #3A261C

    #3A261C

    oklch(29% 0.035 47.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F39

    #172F39

    oklch(29% 0.035 227)

  • #143131

    #143131

    oklch(29.1% 0.035 195.4)

  • #202C3D

    #202C3D

    oklch(29% 0.035 257.1)

Open the analogous palette in the generator

Split complementary

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

  • #172F39

    #172F39

    oklch(29% 0.035 227)

  • #3B2425

    #3B2425

    oklch(29% 0.035 16.6)

  • #352917

    #352917

    oklch(29% 0.035 76.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F39

    #172F39

    oklch(29% 0.035 227)

  • #38242F

    #38242F

    oklch(28.9% 0.035 345.4)

  • #2D2D18

    #2D2D18

    oklch(29.1% 0.035 108.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F39

    #172F39

    oklch(29% 0.035 227)

  • #332637

    #332637

    oklch(29.1% 0.035 318.1)

  • #3A261C

    #3A261C

    oklch(29% 0.035 47.5)

  • #23301E

    #23301E

    oklch(29.1% 0.036 137.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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