#334B41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39% 0.034 166.9), rgb(51, 75, 65).

Aa

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

About this color

#334B41 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.034 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.023 away. White text reads best on it, at 9.44:1.

Hue familyGreens
Lightnessdark (39%)
Chromamuted (0.034)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.22:1
White text9.44:1

Values

HEX#334B41
RGBrgb(51, 75, 65)
HSLhsl(155, 19%, 25%)
OKLCHoklch(39% 0.034 166.9)

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 #334B41 9.44:1 AAA Lc -96.1 Preferred for body text
Black text on #334B41 2.22:1 Fails Lc 12.1 Not readable
#334B41 text on white 9.44:1 AAA Lc 91.8 Preferred for body text
#334B41 text on black 2.22:1 Fails Lc -10.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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBE9

    oklch(93.5% 0.007 174.4)

  3. Step 200

    200

    #D1DCD7

    oklch(88.5% 0.014 167.1)

  4. Step 300

    300

    #B2C6BD

    oklch(80.9% 0.025 166.9)

  5. Step 400

    400

    #89A99B

    oklch(70.7% 0.041 166.8)

  6. Step 500

    500

    #6B9483

    oklch(63.1% 0.052 167.2)

  7. Step 600

    600

    #527E6C

    oklch(55.5% 0.056 166.8)

  8. Step 700

    700

    #426B5A

    oklch(49.2% 0.054 166.1)

  9. Step 800

    800

    #37574A

    oklch(42.8% 0.044 166.9)

  10. Step 900

    900 (this color)

    #334B41

    oklch(39% 0.034 166.9)

  11. Step 950

    950

    #1C2A24

    oklch(27% 0.022 166.4)

Export this scale for Tailwind in the Tailwind colors tool

#334B41 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)#4A48410.035
Deuteranopia (no green cones)#4645420.033
Tritanopia (no blue cones)#2D4B480.013
Achromatopsia (no color)#4646460.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #334B41

    #334B41

    oklch(39% 0.034 166.9)

  • #533E49

    #533E49

    oklch(39.1% 0.034 346)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334B41

    #334B41

    oklch(39% 0.034 166.9)

  • #3C4937

    #3C4937

    oklch(38.8% 0.034 137.1)

  • #2E4B4B

    #2E4B4B

    oklch(39% 0.035 195.8)

Open the analogous palette in the generator

Split complementary

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

  • #334B41

    #334B41

    oklch(39% 0.034 166.9)

  • #4C3F51

    #4C3F51

    oklch(38.8% 0.034 316.6)

  • #563E3E

    #563E3E

    oklch(39% 0.034 18.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334B41

    #334B41

    oklch(39% 0.034 166.9)

  • #434257

    #434257

    oklch(38.9% 0.035 286.8)

  • #554035

    #554035

    oklch(39.1% 0.035 48.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334B41

    #334B41

    oklch(39% 0.034 166.9)

  • #394657

    #394657

    oklch(39% 0.034 255.3)

  • #533E49

    #533E49

    oklch(39.1% 0.034 346)

  • #4F4330

    #4F4330

    oklch(39% 0.034 78.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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