#334D51

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.1% 0.032 208), rgb(51, 77, 81).

Aa

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

About this color

#334D51 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.032 and its hue 208°. 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 9.04:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.032)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.32:1
White text9.04:1

Values

HEX#334D51
RGBrgb(51, 77, 81)
HSLhsl(188, 23%, 26%)
OKLCHoklch(40.1% 0.032 208)

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 #334D51 9.04:1 AAA Lc -95.1 Preferred for body text
Black text on #334D51 2.32:1 Fails Lc 13.2 Not readable
#334D51 text on white 9.04:1 AAA Lc 90.8 Preferred for body text
#334D51 text on black 2.32:1 Fails Lc -11.6 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 900.

  1. Step 50

    50

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D0DCDE

    oklch(88.6% 0.013 208.8)

  4. Step 300

    300

    #B0C5C9

    oklch(80.9% 0.024 210.4)

  5. Step 400

    400

    #85A8AD

    oklch(70.7% 0.039 207)

  6. Step 500

    500

    #669299

    oklch(63.1% 0.049 208.4)

  7. Step 600

    600

    #4C7C84

    oklch(55.5% 0.053 209.1)

  8. Step 700

    700

    #3D6970

    oklch(49.2% 0.05 208.6)

  9. Step 800

    800

    #33555B

    oklch(42.6% 0.041 209.9)

  10. Step 900

    900 (this color)

    #334D51

    oklch(40.1% 0.032 208)

  11. Step 950

    950

    #1B292C

    oklch(27% 0.02 212.4)

Export this scale for Tailwind in the Tailwind colors tool

#334D51 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)#494B510.032
Deuteranopia (no green cones)#4447510.029
Tritanopia (no blue cones)#284F4E0.016
Achromatopsia (no color)#4949490.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D51

    #334D51

    oklch(40.1% 0.032 208)

  • #58423E

    #58423E

    oklch(40.2% 0.032 30.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D51

    #334D51

    oklch(40.1% 0.032 208)

  • #354E48

    #354E48

    oklch(40.2% 0.032 178)

  • #384B57

    #384B57

    oklch(40.2% 0.031 236.3)

Open the analogous palette in the generator

Split complementary

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

  • #334D51

    #334D51

    oklch(40.1% 0.032 208)

  • #574148

    #574148

    oklch(40.2% 0.032 357.7)

  • #564437

    #564437

    oklch(40.2% 0.033 57.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D51

    #334D51

    oklch(40.1% 0.032 208)

  • #524251

    #524251

    oklch(40.1% 0.032 328.2)

  • #4F4734

    #4F4734

    oklch(40% 0.032 87.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D51

    #334D51

    oklch(40.1% 0.032 208)

  • #4A4457

    #4A4457

    oklch(40% 0.032 299.4)

  • #58423E

    #58423E

    oklch(40.2% 0.032 30.3)

  • #464A37

    #464A37

    oklch(40% 0.031 117.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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