#172F38

Closest named color: Gunmetal (#293241). oklch(29% 0.034 224.4), rgb(23, 47, 56).

Aa

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

About this color

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

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

Values

HEX#172F38
RGBrgb(23, 47, 56)
HSLhsl(196, 42%, 15%)
OKLCHoklch(29% 0.034 224.4)

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 #172F38 13.99:1 AAA Lc -103.6 Preferred for body text
Black text on #172F38 1.50:1 Fails Lc 0.0 Not readable
#172F38 text on white 13.99:1 AAA Lc 100.6 Preferred for body text
#172F38 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

    #CADDE4

    oklch(88.5% 0.023 221.8)

  4. Step 300

    300

    #A6C7D4

    oklch(81% 0.04 223.7)

  5. Step 400

    400

    #73AABF

    oklch(70.7% 0.065 223.9)

  6. Step 500

    500

    #4B94AF

    oklch(63% 0.083 224.7)

  7. Step 600

    600

    #297E9A

    oklch(55.5% 0.09 224.2)

  8. Step 700

    700

    #1A6A84

    oklch(49% 0.084 224.9)

  9. Step 800

    800

    #19576B

    oklch(42.7% 0.069 223.8)

  10. Step 900

    900

    #1C4857

    oklch(37.8% 0.054 223.5)

  11. Step 950

    950 (this color)

    #172F38

    oklch(29% 0.034 224.4)

Export this scale for Tailwind in the Tailwind colors tool

#172F38 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)#2A2E380.027
Deuteranopia (no green cones)#252A380.025
Tritanopia (no blue cones)#0532320.023
Achromatopsia (no color)#2C2C2C0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F38

    #172F38

    oklch(29% 0.034 224.4)

  • #3A261D

    #3A261D

    oklch(29% 0.034 45.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F38

    #172F38

    oklch(29% 0.034 224.4)

  • #143130

    #143130

    oklch(29% 0.035 192.4)

  • #1F2C3C

    #1F2C3C

    oklch(28.9% 0.034 254)

Open the analogous palette in the generator

Split complementary

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

  • #172F38

    #172F38

    oklch(29% 0.034 224.4)

  • #3B2426

    #3B2426

    oklch(29% 0.035 13.8)

  • #352918

    #352918

    oklch(29% 0.033 75.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F38

    #172F38

    oklch(29% 0.034 224.4)

  • #38242F

    #38242F

    oklch(28.9% 0.035 345.4)

  • #2E2C18

    #2E2C18

    oklch(28.9% 0.033 103.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F38

    #172F38

    oklch(29% 0.034 224.4)

  • #322637

    #322637

    oklch(29% 0.035 315.8)

  • #3A261D

    #3A261D

    oklch(29% 0.034 45.1)

  • #242F1E

    #242F1E

    oklch(28.9% 0.034 134.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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