#334E4B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.1% 0.033 187.2), rgb(51, 78, 75).

Aa

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

About this color

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

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

Values

HEX#334E4B
RGBrgb(51, 78, 75)
HSLhsl(173, 21%, 25%)
OKLCHoklch(40.1% 0.033 187.2)

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 #334E4B 9.00:1 AAA Lc -95.0 Preferred for body text
Black text on #334E4B 2.33:1 Fails Lc 13.3 Not readable
#334E4B text on white 9.00:1 AAA Lc 90.6 Preferred for body text
#334E4B text on black 2.33:1 Fails Lc -11.7 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

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCDA

    oklch(88.5% 0.013 185.1)

  4. Step 300

    300

    #B0C6C3

    oklch(80.9% 0.024 186.8)

  5. Step 400

    400

    #85A9A5

    oklch(70.7% 0.04 187.9)

  6. Step 500

    500

    #66948F

    oklch(63.2% 0.05 187.5)

  7. Step 600

    600

    #4C7E79

    oklch(55.6% 0.055 187.6)

  8. Step 700

    700

    #3C6A66

    oklch(49% 0.051 188.5)

  9. Step 800

    800

    #325753

    oklch(42.8% 0.043 186.9)

  10. Step 900

    900 (this color)

    #334E4B

    oklch(40.1% 0.033 187.2)

  11. Step 950

    950

    #1A2A28

    oklch(27% 0.022 186.2)

Export this scale for Tailwind in the Tailwind colors tool

#334E4B 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)#4B4B4B0.035
Deuteranopia (no green cones)#46474B0.034
Tritanopia (no blue cones)#2A4F4D0.010
Achromatopsia (no color)#4949490.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #334E4B

    #334E4B

    oklch(40.1% 0.033 187.2)

  • #584145

    #584145

    oklch(40.2% 0.033 7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334E4B

    #334E4B

    oklch(40.1% 0.033 187.2)

  • #394E41

    #394E41

    oklch(40.2% 0.034 157.3)

  • #334D54

    #334D54

    oklch(40.2% 0.034 216.4)

Open the analogous palette in the generator

Split complementary

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

  • #334E4B

    #334E4B

    oklch(40.1% 0.033 187.2)

  • #54414F

    #54414F

    oklch(40.1% 0.034 335.8)

  • #58423B

    #58423B

    oklch(40.1% 0.033 38.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334E4B

    #334E4B

    oklch(40.1% 0.033 187.2)

  • #4D4356

    #4D4356

    oklch(40% 0.034 308.6)

  • #544535

    #544535

    oklch(40.1% 0.033 68.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334E4B

    #334E4B

    oklch(40.1% 0.033 187.2)

  • #43475A

    #43475A

    oklch(40.2% 0.032 275.6)

  • #584145

    #584145

    oklch(40.2% 0.033 7)

  • #4D4834

    #4D4834

    oklch(40.1% 0.032 95.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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