#335342

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.2% 0.048 160.2), rgb(51, 83, 66).

Aa

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

About this color

#335342 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.048 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.029 away. White text reads best on it, at 8.54:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.048)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.45:1
White text8.54:1

Values

HEX#335342
RGBrgb(51, 83, 66)
HSLhsl(148, 24%, 26%)
OKLCHoklch(41.2% 0.048 160.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 #335342 8.54:1 AAA Lc -93.9 Preferred for body text
Black text on #335342 2.45:1 Fails Lc 14.7 Not readable
#335342 text on white 8.54:1 AAA Lc 89.3 Fine for body text
#335342 text on black 2.45:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D1DCD6

    oklch(88.4% 0.014 162.4)

  4. Step 300

    300

    #B2C6BA

    oklch(80.8% 0.027 159.4)

  5. Step 400

    400

    #89AA97

    oklch(70.8% 0.046 159.7)

  6. Step 500

    500

    #6B947E

    oklch(63% 0.056 160.8)

  7. Step 600

    600

    #527F67

    oklch(55.7% 0.062 160.2)

  8. Step 700

    700

    #436B56

    oklch(49.1% 0.057 160.4)

  9. Step 800

    800 (this color)

    #335342

    oklch(41.2% 0.048 160.2)

  10. Step 900

    900

    #30483B

    oklch(37.8% 0.037 160.3)

  11. Step 950

    950

    #1C2A22

    oklch(26.9% 0.024 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#335342 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)#524F410.045
Deuteranopia (no green cones)#4D4B430.044
Tritanopia (no blue cones)#2C534E0.020
Achromatopsia (no color)#4C4C4C0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #335342

    #335342

    oklch(41.2% 0.048 160.2)

  • #5D4153

    #5D4153

    oklch(41.3% 0.047 340.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335342

    #335342

    oklch(41.2% 0.048 160.2)

  • #425035

    #425035

    oklch(41.1% 0.047 130.5)

  • #295351

    #295351

    oklch(41.1% 0.047 191.4)

Open the analogous palette in the generator

Split complementary

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

  • #335342

    #335342

    oklch(41.2% 0.048 160.2)

  • #53445E

    #53445E

    oklch(41.2% 0.046 310.5)

  • #624045

    #624045

    oklch(41.2% 0.048 9.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335342

    #335342

    oklch(41.2% 0.048 160.2)

  • #464865

    #464865

    oklch(41.2% 0.048 281)

  • #624237

    #624237

    oklch(41.2% 0.048 39.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335342

    #335342

    oklch(41.2% 0.048 160.2)

  • #374D64

    #374D64

    oklch(41.2% 0.047 250.1)

  • #5D4153

    #5D4153

    oklch(41.3% 0.047 340.6)

  • #5C462E

    #5C462E

    oklch(41.1% 0.048 68.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335342 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.