#334F46

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.037 172.2), rgb(51, 79, 70).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.037)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.34:1
White text8.94:1

Values

HEX#334F46
RGBrgb(51, 79, 70)
HSLhsl(161, 22%, 25%)
OKLCHoklch(40.2% 0.037 172.2)

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 #334F46 8.94:1 AAA Lc -94.9 Preferred for body text
Black text on #334F46 2.34:1 Fails Lc 13.5 Not readable
#334F46 text on white 8.94:1 AAA Lc 90.5 Preferred for body text
#334F46 text on black 2.34:1 Fails Lc -11.8 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 800.

  1. Step 50

    50

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBE9

    oklch(93.6% 0.006 170.4)

  3. Step 200

    200

    #D2DCD8

    oklch(88.6% 0.012 170.2)

  4. Step 300

    300

    #B3C5BF

    oklch(80.8% 0.021 173.8)

  5. Step 400

    400

    #8BA89E

    oklch(70.7% 0.035 172.3)

  6. Step 500

    500

    #6E9386

    oklch(63.2% 0.046 171.2)

  7. Step 600

    600

    #567D70

    oklch(55.7% 0.048 171.7)

  8. Step 700

    700

    #46695E

    oklch(49.1% 0.044 172.8)

  9. Step 800

    800 (this color)

    #334F46

    oklch(40.2% 0.037 172.2)

  10. Step 900

    900

    #324740

    oklch(37.8% 0.029 172.1)

  11. Step 950

    950

    #1D2925

    oklch(26.8% 0.018 172.4)

Export this scale for Tailwind in the Tailwind colors tool

#334F46 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)#4D4C460.038
Deuteranopia (no green cones)#4848470.037
Tritanopia (no blue cones)#2B504C0.012
Achromatopsia (no color)#4949490.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F46

    #334F46

    oklch(40.2% 0.037 172.2)

  • #58404A

    #58404A

    oklch(40.1% 0.037 352.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F46

    #334F46

    oklch(40.2% 0.037 172.2)

  • #3D4E3B

    #3D4E3B

    oklch(40.3% 0.038 142.1)

  • #2F4E51

    #2F4E51

    oklch(40.1% 0.037 203.6)

Open the analogous palette in the generator

Split complementary

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

  • #334F46

    #334F46

    oklch(40.2% 0.037 172.2)

  • #524254

    #524254

    oklch(40.3% 0.036 322.6)

  • #5B403F

    #5B403F

    oklch(40.1% 0.038 21.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F46

    #334F46

    oklch(40.2% 0.037 172.2)

  • #48455B

    #48455B

    oklch(40.2% 0.037 290.9)

  • #594336

    #594336

    oklch(40.3% 0.037 51.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F46

    #334F46

    oklch(40.2% 0.037 172.2)

  • #3D495D

    #3D495D

    oklch(40.3% 0.037 260.5)

  • #58404A

    #58404A

    oklch(40.1% 0.037 352.1)

  • #524731

    #524731

    oklch(40.3% 0.037 84.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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