#334F59

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.9% 0.037 222.4), rgb(51, 79, 89).

Aa

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

About this color

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

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

Values

HEX#334F59
RGBrgb(51, 79, 89)
HSLhsl(196, 27%, 27%)
OKLCHoklch(40.9% 0.037 222.4)

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 #334F59 8.73:1 AAA Lc -94.4 Preferred for body text
Black text on #334F59 2.40:1 Fails Lc 14.1 Not readable
#334F59 text on white 8.73:1 AAA Lc 89.9 Fine for body text
#334F59 text on black 2.40:1 Fails Lc -12.4 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBED

    oklch(93.6% 0.007 219.6)

  3. Step 200

    200

    #D1DBDF

    oklch(88.5% 0.012 223.5)

  4. Step 300

    300

    #B2C4CB

    oklch(80.9% 0.022 223.1)

  5. Step 400

    400

    #8AA6B1

    oklch(70.8% 0.035 223.6)

  6. Step 500

    500

    #6C909D

    oklch(63.1% 0.044 222.1)

  7. Step 600

    600

    #537A88

    oklch(55.6% 0.049 222.4)

  8. Step 700

    700

    #436773

    oklch(49.1% 0.045 220.9)

  9. Step 800

    800 (this color)

    #334F59

    oklch(40.9% 0.037 222.4)

  10. Step 900

    900

    #30454D

    oklch(37.6% 0.03 223.5)

  11. Step 950

    950

    #1D292D

    oklch(27.2% 0.018 220.3)

Export this scale for Tailwind in the Tailwind colors tool

#334F59 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)#494D5A0.031
Deuteranopia (no green cones)#4349590.028
Tritanopia (no blue cones)#2452520.024
Achromatopsia (no color)#4B4B4B0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F59

    #334F59

    oklch(40.9% 0.037 222.4)

  • #5C443A

    #5C443A

    oklch(41% 0.037 43.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F59

    #334F59

    oklch(40.9% 0.037 222.4)

  • #315150

    #315150

    oklch(41% 0.038 193.3)

  • #3C4C5E

    #3C4C5E

    oklch(41% 0.037 251.7)

Open the analogous palette in the generator

Split complementary

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

  • #334F59

    #334F59

    oklch(40.9% 0.037 222.4)

  • #5D4245

    #5D4245

    oklch(41% 0.038 11.5)

  • #574734

    #574734

    oklch(40.9% 0.037 71.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F59

    #334F59

    oklch(40.9% 0.037 222.4)

  • #594250

    #594250

    oklch(40.9% 0.038 341.8)

  • #4E4B33

    #4E4B33

    oklch(40.9% 0.038 101.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F59

    #334F59

    oklch(40.9% 0.037 222.4)

  • #514459

    #514459

    oklch(40.8% 0.038 312.4)

  • #5C443A

    #5C443A

    oklch(41% 0.037 43.7)

  • #434F3A

    #434F3A

    oklch(41.1% 0.037 132.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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