#334F55

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.8% 0.035 212.6), rgb(51, 79, 85).

Aa

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

About this color

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

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

Values

HEX#334F55
RGBrgb(51, 79, 85)
HSLhsl(191, 25%, 27%)
OKLCHoklch(40.8% 0.035 212.6)

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 #334F55 8.78:1 AAA Lc -94.5 Preferred for body text
Black text on #334F55 2.39:1 Fails Lc 13.9 Not readable
#334F55 text on white 8.78:1 AAA Lc 90.0 Preferred for body text
#334F55 text on black 2.39:1 Fails Lc -12.2 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

    #E6EBEC

    oklch(93.7% 0.006 211)

  3. Step 200

    200

    #D1DBDD

    oklch(88.4% 0.011 211)

  4. Step 300

    300

    #B2C4C8

    oklch(80.8% 0.02 212.6)

  5. Step 400

    400

    #8AA6AD

    oklch(70.6% 0.033 214.6)

  6. Step 500

    500

    #6C9198

    oklch(63.2% 0.042 210.5)

  7. Step 600

    600

    #547B83

    oklch(55.7% 0.045 211.8)

  8. Step 700

    700

    #44676F

    oklch(49% 0.042 213.6)

  9. Step 800

    800 (this color)

    #334F55

    oklch(40.8% 0.035 212.6)

  10. Step 900

    900

    #31464A

    oklch(37.8% 0.027 210.6)

  11. Step 950

    950

    #1D292B

    oklch(27.1% 0.017 208.8)

Export this scale for Tailwind in the Tailwind colors tool

#334F55 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)#4A4D550.032
Deuteranopia (no green cones)#4549550.030
Tritanopia (no blue cones)#2652510.019
Achromatopsia (no color)#4B4B4B0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F55

    #334F55

    oklch(40.8% 0.035 212.6)

  • #5B433E

    #5B433E

    oklch(40.7% 0.035 32)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F55

    #334F55

    oklch(40.8% 0.035 212.6)

  • #34504B

    #34504B

    oklch(40.7% 0.035 182.1)

  • #394C5B

    #394C5B

    oklch(40.7% 0.035 242.5)

Open the analogous palette in the generator

Split complementary

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

  • #334F55

    #334F55

    oklch(40.8% 0.035 212.6)

  • #5A4248

    #5A4248

    oklch(40.7% 0.034 2.2)

  • #584636

    #584636

    oklch(40.9% 0.035 63.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F55

    #334F55

    oklch(40.8% 0.035 212.6)

  • #564352

    #564352

    oklch(40.8% 0.035 333.6)

  • #504934

    #504934

    oklch(40.6% 0.034 91.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F55

    #334F55

    oklch(40.8% 0.035 212.6)

  • #4D455A

    #4D455A

    oklch(40.7% 0.036 302.2)

  • #5B433E

    #5B433E

    oklch(40.7% 0.035 32)

  • #464D38

    #464D38

    oklch(40.8% 0.035 122.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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