#334F4B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.4% 0.034 184.8), rgb(51, 79, 75).

Aa

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

About this color

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

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

Values

HEX#334F4B
RGBrgb(51, 79, 75)
HSLhsl(171, 22%, 25%)
OKLCHoklch(40.4% 0.034 184.8)

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 #334F4B 8.89:1 AAA Lc -94.8 Preferred for body text
Black text on #334F4B 2.36:1 Fails Lc 13.6 Not readable
#334F4B text on white 8.89:1 AAA Lc 90.3 Preferred for body text
#334F4B 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

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D1DCDA

    oklch(88.6% 0.012 184)

  4. Step 300

    300

    #B3C5C2

    oklch(80.9% 0.02 184.8)

  5. Step 400

    400

    #8BA7A3

    oklch(70.6% 0.032 185.9)

  6. Step 500

    500

    #6E928C

    oklch(63.1% 0.041 183.6)

  7. Step 600

    600

    #557C76

    oklch(55.5% 0.045 184.1)

  8. Step 700

    700

    #456964

    oklch(49.2% 0.042 185)

  9. Step 800

    800 (this color)

    #334F4B

    oklch(40.4% 0.034 184.8)

  10. Step 900

    900

    #314643

    oklch(37.6% 0.027 185.2)

  11. Step 950

    950

    #1D2927

    oklch(26.9% 0.017 183.7)

Export this scale for Tailwind in the Tailwind colors tool

#334F4B 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)#4C4C4B0.036
Deuteranopia (no green cones)#47484B0.035
Tritanopia (no blue cones)#2A504E0.010
Achromatopsia (no color)#4A4A4A0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F4B

    #334F4B

    oklch(40.4% 0.034 184.8)

  • #594146

    #594146

    oklch(40.3% 0.034 4.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F4B

    #334F4B

    oklch(40.4% 0.034 184.8)

  • #3A4E41

    #3A4E41

    oklch(40.3% 0.033 156.1)

  • #334E54

    #334E54

    oklch(40.5% 0.034 213.1)

Open the analogous palette in the generator

Split complementary

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

  • #334F4B

    #334F4B

    oklch(40.4% 0.034 184.8)

  • #554250

    #554250

    oklch(40.4% 0.034 335.8)

  • #5A423C

    #5A423C

    oklch(40.3% 0.035 34.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F4B

    #334F4B

    oklch(40.4% 0.034 184.8)

  • #4D4458

    #4D4458

    oklch(40.4% 0.035 305.3)

  • #564535

    #564535

    oklch(40.4% 0.035 64.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F4B

    #334F4B

    oklch(40.4% 0.034 184.8)

  • #43485C

    #43485C

    oklch(40.5% 0.034 273.8)

  • #594146

    #594146

    oklch(40.3% 0.034 4.9)

  • #4F4933

    #4F4933

    oklch(40.5% 0.035 94.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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