#172F3A

Closest named color: Gunmetal (#293241). oklch(29.1% 0.036 229.4), rgb(23, 47, 58).

Aa

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

About this color

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

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

Values

HEX#172F3A
RGBrgb(23, 47, 58)
HSLhsl(199, 43%, 16%)
OKLCHoklch(29.1% 0.036 229.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 #172F3A 13.96:1 AAA Lc -103.6 Preferred for body text
Black text on #172F3A 1.50:1 Fails Lc 0.0 Not readable
#172F3A text on white 13.96:1 AAA Lc 100.5 Preferred for body text
#172F3A 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

    #E2ECF1

    oklch(93.7% 0.013 228.9)

  3. Step 200

    200

    #CADDE6

    oklch(88.6% 0.024 227.8)

  4. Step 300

    300

    #A5C6D7

    oklch(80.8% 0.043 230.3)

  5. Step 400

    400

    #73A9C3

    oklch(70.7% 0.068 229.7)

  6. Step 500

    500

    #4B93B4

    oklch(63% 0.087 230.1)

  7. Step 600

    600

    #287DA0

    oklch(55.5% 0.095 229.9)

  8. Step 700

    700

    #196A89

    oklch(49.2% 0.088 229.2)

  9. Step 800

    800

    #19566F

    oklch(42.7% 0.073 229.7)

  10. Step 900

    900

    #1C475A

    oklch(37.7% 0.057 230)

  11. Step 950

    950 (this color)

    #172F3A

    oklch(29.1% 0.036 229.4)

Export this scale for Tailwind in the Tailwind colors tool

#172F3A 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)#292E3B0.026
Deuteranopia (no green cones)#242A3A0.023
Tritanopia (no blue cones)#0332330.026
Achromatopsia (no color)#2C2C2C0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F3A

    #172F3A

    oklch(29.1% 0.036 229.4)

  • #3A261B

    #3A261B

    oklch(29% 0.036 49.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F3A

    #172F3A

    oklch(29.1% 0.036 229.4)

  • #133132

    #133132

    oklch(29.1% 0.036 198.3)

  • #212C3E

    #212C3E

    oklch(29.2% 0.036 260.1)

Open the analogous palette in the generator

Split complementary

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

  • #172F3A

    #172F3A

    oklch(29.1% 0.036 229.4)

  • #3C2424

    #3C2424

    oklch(29.1% 0.037 19.5)

  • #352916

    #352916

    oklch(28.9% 0.036 78.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F3A

    #172F3A

    oklch(29.1% 0.036 229.4)

  • #39242E

    #39242E

    oklch(29% 0.036 349.5)

  • #2D2D17

    #2D2D17

    oklch(29.1% 0.036 108.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F3A

    #172F3A

    oklch(29.1% 0.036 229.4)

  • #332637

    #332637

    oklch(29.1% 0.035 318.1)

  • #3A261B

    #3A261B

    oklch(29% 0.036 49.7)

  • #22301F

    #22301F

    oklch(29.1% 0.036 140.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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