#334F4A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.4% 0.035 182.1), rgb(51, 79, 74).

Aa

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

About this color

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

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

Values

HEX#334F4A
RGBrgb(51, 79, 74)
HSLhsl(169, 22%, 25%)
OKLCHoklch(40.4% 0.035 182.1)

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 #334F4A 8.90:1 AAA Lc -94.8 Preferred for body text
Black text on #334F4A 2.35:1 Fails Lc 13.6 Not readable
#334F4A text on white 8.90:1 AAA Lc 90.4 Preferred for body text
#334F4A text on black 2.35:1 Fails Lc -11.9 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D1DCD9

    oklch(88.5% 0.013 178)

  4. Step 300

    300

    #B3C5C1

    oklch(80.9% 0.02 181)

  5. Step 400

    400

    #8BA8A2

    oklch(70.8% 0.033 181.4)

  6. Step 500

    500

    #6E928B

    oklch(63.1% 0.041 181.6)

  7. Step 600

    600

    #557C75

    oklch(55.5% 0.045 182.2)

  8. Step 700

    700

    #456962

    oklch(49.1% 0.043 180.9)

  9. Step 800

    800 (this color)

    #334F4A

    oklch(40.4% 0.035 182.1)

  10. Step 900

    900

    #314643

    oklch(37.6% 0.027 185.2)

  11. Step 950

    950

    #1D2927

    oklch(26.9% 0.017 183.7)

Export this scale for Tailwind in the Tailwind colors tool

#334F4A 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)#4D4C4A0.038
Deuteranopia (no green cones)#47484A0.035
Tritanopia (no blue cones)#2A504D0.010
Achromatopsia (no color)#4A4A4A0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F4A

    #334F4A

    oklch(40.4% 0.035 182.1)

  • #594147

    #594147

    oklch(40.4% 0.034 2.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F4A

    #334F4A

    oklch(40.4% 0.035 182.1)

  • #3B4E3F

    #3B4E3F

    oklch(40.3% 0.035 151)

  • #324E54

    #324E54

    oklch(40.4% 0.035 212.6)

Open the analogous palette in the generator

Split complementary

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

  • #334F4A

    #334F4A

    oklch(40.4% 0.035 182.1)

  • #544251

    #544251

    oklch(40.4% 0.034 331.9)

  • #5A423D

    #5A423D

    oklch(40.4% 0.035 32)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F4A

    #334F4A

    oklch(40.4% 0.035 182.1)

  • #4C4459

    #4C4459

    oklch(40.3% 0.036 302.2)

  • #574535

    #574535

    oklch(40.5% 0.036 63.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F4A

    #334F4A

    oklch(40.4% 0.035 182.1)

  • #42485C

    #42485C

    oklch(40.4% 0.035 271.8)

  • #594147

    #594147

    oklch(40.4% 0.034 2.2)

  • #4F4833

    #4F4833

    oklch(40.3% 0.034 91.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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