#335246

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41% 0.042 167.9), rgb(51, 82, 70).

Aa

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

About this color

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

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

Values

HEX#335246
RGBrgb(51, 82, 70)
HSLhsl(157, 23%, 26%)
OKLCHoklch(41% 0.042 167.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 #335246 8.62:1 AAA Lc -94.1 Preferred for body text
Black text on #335246 2.43:1 Fails Lc 14.4 Not readable
#335246 text on white 8.62:1 AAA Lc 89.5 Fine for body text
#335246 text on black 2.43:1 Fails Lc -12.7 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E6EBE9

    oklch(93.6% 0.006 170.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

    #8AA99C

    oklch(70.8% 0.039 167.9)

  6. Step 500

    500

    #6C9484

    oklch(63.2% 0.05 168.1)

  7. Step 600

    600

    #537E6D

    oklch(55.6% 0.055 167.6)

  8. Step 700

    700

    #436A5B

    oklch(49% 0.051 168.1)

  9. Step 800

    800 (this color)

    #335246

    oklch(41% 0.042 167.9)

  10. Step 900

    900

    #30473E

    oklch(37.6% 0.033 168.3)

  11. Step 950

    950

    #1C2A24

    oklch(27% 0.022 166.4)

Export this scale for Tailwind in the Tailwind colors tool

#335246 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)#514E450.043
Deuteranopia (no green cones)#4B4A470.041
Tritanopia (no blue cones)#2B524E0.015
Achromatopsia (no color)#4C4C4C0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #335246

    #335246

    oklch(41% 0.042 167.9)

  • #5C414E

    #5C414E

    oklch(41% 0.042 348.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335246

    #335246

    oklch(41% 0.042 167.9)

  • #3F503A

    #3F503A

    oklch(41% 0.042 138.6)

  • #2D5253

    #2D5253

    oklch(41.1% 0.042 197.9)

Open the analogous palette in the generator

Split complementary

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

  • #335246

    #335246

    oklch(41% 0.042 167.9)

  • #54435A

    #54435A

    oklch(41% 0.043 317.2)

  • #5F4142

    #5F4142

    oklch(40.9% 0.042 16.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335246

    #335246

    oklch(41% 0.042 167.9)

  • #494760

    #494760

    oklch(41% 0.042 288.1)

  • #5E4436

    #5E4436

    oklch(41.1% 0.043 49.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335246

    #335246

    oklch(41% 0.042 167.9)

  • #3C4B62

    #3C4B62

    oklch(41% 0.043 258.8)

  • #5C414E

    #5C414E

    oklch(41% 0.042 348.7)

  • #574830

    #574830

    oklch(41.1% 0.042 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 #335246, closest first.

Similar named colors

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

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