#334F4D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.034 190.3), rgb(51, 79, 77).

Aa

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

About this color

#334F4D is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.034 and its hue 190°. 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.87:1.

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

Values

HEX#334F4D
RGBrgb(51, 79, 77)
HSLhsl(176, 22%, 25%)
OKLCHoklch(40.5% 0.034 190.3)

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 #334F4D 8.87:1 AAA Lc -94.7 Preferred for body text
Black text on #334F4D 2.36:1 Fails Lc 13.7 Not readable
#334F4D text on white 8.87:1 AAA Lc 90.3 Preferred for body text
#334F4D text on black 2.36:1 Fails Lc -12.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 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

    #D1DCDB

    oklch(88.6% 0.012 190.4)

  4. Step 300

    300

    #B3C5C3

    oklch(80.9% 0.02 188.7)

  5. Step 400

    400

    #8BA7A5

    oklch(70.7% 0.031 191.2)

  6. Step 500

    500

    #6D928F

    oklch(63.2% 0.041 190)

  7. Step 600

    600

    #557C79

    oklch(55.6% 0.044 189.9)

  8. Step 700

    700

    #456866

    oklch(49% 0.04 191.4)

  9. Step 800

    800 (this color)

    #334F4D

    oklch(40.5% 0.034 190.3)

  10. Step 900

    900

    #314645

    oklch(37.6% 0.026 192.4)

  11. Step 950

    950

    #1D2928

    oklch(26.9% 0.017 189.9)

Export this scale for Tailwind in the Tailwind colors tool

#334F4D 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)#4C4C4D0.036
Deuteranopia (no green cones)#47484D0.034
Tritanopia (no blue cones)#29504E0.011
Achromatopsia (no color)#4A4A4A0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F4D

    #334F4D

    oklch(40.5% 0.034 190.3)

  • #5A4245

    #5A4245

    oklch(40.6% 0.034 10.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F4D

    #334F4D

    oklch(40.5% 0.034 190.3)

  • #394F43

    #394F43

    oklch(40.5% 0.034 160.6)

  • #344D56

    #344D56

    oklch(40.4% 0.034 222.4)

Open the analogous palette in the generator

Split complementary

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

  • #334F4D

    #334F4D

    oklch(40.5% 0.034 190.3)

  • #56424F

    #56424F

    oklch(40.5% 0.034 339.7)

  • #59433B

    #59433B

    oklch(40.4% 0.033 40.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F4D

    #334F4D

    oklch(40.5% 0.034 190.3)

  • #4F4457

    #4F4457

    oklch(40.5% 0.034 310.9)

  • #554635

    #554635

    oklch(40.5% 0.034 70.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F4D

    #334F4D

    oklch(40.5% 0.034 190.3)

  • #45475B

    #45475B

    oklch(40.4% 0.034 280.3)

  • #5A4245

    #5A4245

    oklch(40.6% 0.034 10.3)

  • #4D4A34

    #4D4A34

    oklch(40.6% 0.035 101.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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