#334D47

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.7% 0.033 178.5), rgb(51, 77, 71).

Aa

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

About this color

#334D47 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.033 and its hue 178°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.013 away. White text reads best on it, at 9.15:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.033)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.29:1
White text9.15:1

Values

HEX#334D47
RGBrgb(51, 77, 71)
HSLhsl(166, 20%, 25%)
OKLCHoklch(39.7% 0.033 178.5)

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 #334D47 9.15:1 AAA Lc -95.4 Preferred for body text
Black text on #334D47 2.29:1 Fails Lc 12.9 Not readable
#334D47 text on white 9.15:1 AAA Lc 91.1 Preferred for body text
#334D47 text on black 2.29:1 Fails Lc -11.3 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 900.

  1. Step 50

    50

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCD9

    oklch(88.5% 0.014 179.4)

  4. Step 300

    300

    #B0C6C1

    oklch(80.8% 0.025 180.5)

  5. Step 400

    400

    #86A9A1

    oklch(70.6% 0.04 179.6)

  6. Step 500

    500

    #67948A

    oklch(63.1% 0.051 179.2)

  7. Step 600

    600

    #4E7E74

    oklch(55.6% 0.055 179.5)

  8. Step 700

    700

    #3E6B61

    oklch(49.2% 0.053 178.2)

  9. Step 800

    800

    #34574F

    oklch(42.7% 0.043 178)

  10. Step 900

    900 (this color)

    #334D47

    oklch(39.7% 0.033 178.5)

  11. Step 950

    950

    #1B2A26

    oklch(27% 0.022 176.2)

Export this scale for Tailwind in the Tailwind colors tool

#334D47 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)#4B4A470.035
Deuteranopia (no green cones)#4647470.032
Tritanopia (no blue cones)#2B4E4B0.010
Achromatopsia (no color)#4848480.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D47

    #334D47

    oklch(39.7% 0.033 178.5)

  • #564047

    #564047

    oklch(39.8% 0.032 357.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D47

    #334D47

    oklch(39.7% 0.033 178.5)

  • #3B4C3D

    #3B4C3D

    oklch(39.7% 0.033 148.1)

  • #314C50

    #314C50

    oklch(39.7% 0.033 207.6)

Open the analogous palette in the generator

Split complementary

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

  • #334D47

    #334D47

    oklch(39.7% 0.033 178.5)

  • #514150

    #514150

    oklch(39.8% 0.033 328.2)

  • #58403D

    #58403D

    oklch(39.7% 0.034 26.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D47

    #334D47

    oklch(39.7% 0.033 178.5)

  • #494357

    #494357

    oklch(39.7% 0.034 298.6)

  • #554335

    #554335

    oklch(39.8% 0.034 59.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D47

    #334D47

    oklch(39.7% 0.033 178.5)

  • #3F4659

    #3F4659

    oklch(39.6% 0.034 269)

  • #564047

    #564047

    oklch(39.8% 0.032 357.8)

  • #4E4632

    #4E4632

    oklch(39.6% 0.033 88.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334D47 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.