#334E4F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.3% 0.033 198.9), rgb(51, 78, 79).

Aa

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

About this color

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

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

Values

HEX#334E4F
RGBrgb(51, 78, 79)
HSLhsl(182, 22%, 25%)
OKLCHoklch(40.3% 0.033 198.9)

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 #334E4F 8.96:1 AAA Lc -94.9 Preferred for body text
Black text on #334E4F 2.34:1 Fails Lc 13.4 Not readable
#334E4F text on white 8.96:1 AAA Lc 90.5 Preferred for body text
#334E4F 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E6EBEB

    oklch(93.6% 0.005 197.1)

  3. Step 200

    200

    #D2DBDC

    oklch(88.5% 0.01 204.9)

  4. Step 300

    300

    #B3C5C5

    oklch(81% 0.02 196.8)

  5. Step 400

    400

    #8BA7A8

    oklch(70.8% 0.031 199.1)

  6. Step 500

    500

    #6E9192

    oklch(63.1% 0.039 198.4)

  7. Step 600

    600

    #567B7D

    oklch(55.6% 0.042 200.3)

  8. Step 700

    700

    #466869

    oklch(49.2% 0.039 198.3)

  9. Step 800

    800 (this color)

    #334E4F

    oklch(40.3% 0.033 198.9)

  10. Step 900

    900

    #324647

    oklch(37.8% 0.025 200)

  11. Step 950

    950

    #1D2929

    oklch(27% 0.017 196.2)

Export this scale for Tailwind in the Tailwind colors tool

#334E4F 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)#4A4C4F0.033
Deuteranopia (no green cones)#45484F0.030
Tritanopia (no blue cones)#29504E0.013
Achromatopsia (no color)#4949490.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #334E4F

    #334E4F

    oklch(40.3% 0.033 198.9)

  • #594241

    #594241

    oklch(40.4% 0.032 21.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334E4F

    #334E4F

    oklch(40.3% 0.033 198.9)

  • #374E45

    #374E45

    oklch(40.2% 0.032 168.6)

  • #364C57

    #364C57

    oklch(40.3% 0.033 230.2)

Open the analogous palette in the generator

Split complementary

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

  • #334E4F

    #334E4F

    oklch(40.3% 0.033 198.9)

  • #56414B

    #56414B

    oklch(40.1% 0.033 348.5)

  • #574339

    #574339

    oklch(40.1% 0.032 47.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334E4F

    #334E4F

    oklch(40.3% 0.033 198.9)

  • #504354

    #504354

    oklch(40.3% 0.033 318.2)

  • #524734

    #524734

    oklch(40.4% 0.033 81.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334E4F

    #334E4F

    oklch(40.3% 0.033 198.9)

  • #474659

    #474659

    oklch(40.3% 0.032 287.3)

  • #594241

    #594241

    oklch(40.4% 0.032 21.4)

  • #4A4A36

    #4A4A36

    oklch(40.3% 0.032 107.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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