#334C41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.2% 0.036 165.5), rgb(51, 76, 65).

Aa

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

About this color

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

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

Values

HEX#334C41
RGBrgb(51, 76, 65)
HSLhsl(154, 20%, 25%)
OKLCHoklch(39.2% 0.036 165.5)

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 #334C41 9.32:1 AAA Lc -95.8 Preferred for body text
Black text on #334C41 2.25:1 Fails Lc 12.4 Not readable
#334C41 text on white 9.32:1 AAA Lc 91.5 Preferred for body text
#334C41 text on black 2.25:1 Fails Lc -10.9 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

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D0DCD7

    oklch(88.4% 0.015 169.2)

  4. Step 300

    300

    #B1C6BC

    oklch(80.8% 0.027 165.5)

  5. Step 400

    400

    #88AA9A

    oklch(70.8% 0.044 164.9)

  6. Step 500

    500

    #6A9481

    oklch(63% 0.054 165)

  7. Step 600

    600

    #507F6B

    oklch(55.7% 0.06 165.6)

  8. Step 700

    700

    #416B59

    oklch(49.1% 0.056 165.2)

  9. Step 800

    800

    #365749

    oklch(42.7% 0.045 165.7)

  10. Step 900

    900 (this color)

    #334C41

    oklch(39.2% 0.036 165.5)

  11. Step 950

    950

    #1C2A24

    oklch(27% 0.022 166.4)

Export this scale for Tailwind in the Tailwind colors tool

#334C41 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)#4B49400.036
Deuteranopia (no green cones)#4746420.034
Tritanopia (no blue cones)#2D4C490.014
Achromatopsia (no color)#4747470.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C41

    #334C41

    oklch(39.2% 0.036 165.5)

  • #543E4A

    #543E4A

    oklch(39.2% 0.036 345)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C41

    #334C41

    oklch(39.2% 0.036 165.5)

  • #3D4A37

    #3D4A37

    oklch(39.2% 0.035 135.9)

  • #2E4C4C

    #2E4C4C

    oklch(39.3% 0.036 195.8)

Open the analogous palette in the generator

Split complementary

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

  • #334C41

    #334C41

    oklch(39.2% 0.036 165.5)

  • #4D4053

    #4D4053

    oklch(39.2% 0.036 315.1)

  • #573E3F

    #573E3F

    oklch(39.2% 0.035 16.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C41

    #334C41

    oklch(39.2% 0.036 165.5)

  • #444359

    #444359

    oklch(39.3% 0.037 286.6)

  • #564036

    #564036

    oklch(39.3% 0.035 45.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C41

    #334C41

    oklch(39.2% 0.036 165.5)

  • #394759

    #394759

    oklch(39.3% 0.036 254.9)

  • #543E4A

    #543E4A

    oklch(39.2% 0.036 345)

  • #514330

    #514330

    oklch(39.2% 0.036 74.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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