#335748

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.5% 0.049 165.8), rgb(51, 87, 72).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.049)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.59:1
White text8.08:1

Values

HEX#335748
RGBrgb(51, 87, 72)
HSLhsl(155, 26%, 27%)
OKLCHoklch(42.5% 0.049 165.8)

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 #335748 8.08:1 AAA Lc -92.6 Preferred for body text
Black text on #335748 2.59:1 Fails Lc 16.1 Dividers and decoration only
#335748 text on white 8.08:1 AAA Lc 87.9 Fine for body text
#335748 text on black 2.59:1 Fails Lc -14.2 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

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D0DDD7

    oklch(88.6% 0.016 166.7)

  4. Step 300

    300

    #B0C7BC

    oklch(80.9% 0.029 165.3)

  5. Step 400

    400

    #86AA9A

    oklch(70.7% 0.046 166.2)

  6. Step 500

    500

    #679581

    oklch(63.1% 0.059 165.7)

  7. Step 600

    600

    #4D7F6B

    oklch(55.5% 0.063 166.8)

  8. Step 700

    700

    #3E6C59

    oklch(49.2% 0.06 165.7)

  9. Step 800

    800 (this color)

    #335748

    oklch(42.5% 0.049 165.8)

  10. Step 900

    900

    #2E483D

    oklch(37.7% 0.037 166.1)

  11. Step 950

    950

    #1B2A24

    oklch(26.9% 0.023 167.9)

Export this scale for Tailwind in the Tailwind colors tool

#335748 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)#5652470.050
Deuteranopia (no green cones)#504E490.048
Tritanopia (no blue cones)#2A57530.019
Achromatopsia (no color)#5050500.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #335748

    #335748

    oklch(42.5% 0.049 165.8)

  • #624354

    #624354

    oklch(42.3% 0.05 345.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335748

    #335748

    oklch(42.5% 0.049 165.8)

  • #42553A

    #42553A

    oklch(42.6% 0.049 136.6)

  • #2B5757

    #2B5757

    oklch(42.6% 0.049 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #335748

    #335748

    oklch(42.5% 0.049 165.8)

  • #594661

    #594661

    oklch(42.5% 0.05 315.7)

  • #664345

    #664345

    oklch(42.3% 0.049 15.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335748

    #335748

    oklch(42.5% 0.049 165.8)

  • #4C4B68

    #4C4B68

    oklch(42.6% 0.048 285.8)

  • #654638

    #654638

    oklch(42.5% 0.049 45.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335748

    #335748

    oklch(42.5% 0.049 165.8)

  • #3C5069

    #3C5069

    oklch(42.5% 0.049 254.3)

  • #624354

    #624354

    oklch(42.3% 0.05 345.4)

  • #5E4B2F

    #5E4B2F

    oklch(42.5% 0.049 76.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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