#335F51

Closest named color: Dark Green Blue (#1F6357). oklch(44.9% 0.055 171.2), rgb(51, 95, 81).

Aa

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

About this color

#335F51 is a dark, muted teal or cyan. In OKLCH its lightness is 45%, its chroma 0.055 and its hue 171°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Green Blue (#1F6357), ΔE 0.018 away. White text reads best on it, at 7.25:1.

Hue familyTeals and cyans
Lightnessdark (45%)
Chromamuted (0.055)
Temperaturecool
Nearest nameDark Green Blue (#1F6357)
Black text2.89:1
White text7.25:1

Values

HEX#335F51
RGBrgb(51, 95, 81)
HSLhsl(161, 30%, 29%)
OKLCHoklch(44.9% 0.055 171.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 #335F51 7.25:1 AAA Lc -90.0 Fine for body text
Black text on #335F51 2.89:1 Fails Lc 19.0 Dividers and decoration only
#335F51 text on white 7.25:1 AAA Lc 85.1 Fine for body text
#335F51 text on black 2.89:1 Fails Lc -16.9 Dividers and decoration only

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

    #E4ECE9

    oklch(93.6% 0.009 171.8)

  3. Step 200

    200

    #CEDDD7

    oklch(88.5% 0.018 170)

  4. Step 300

    300

    #ADC8BE

    oklch(81% 0.032 171.1)

  5. Step 400

    400

    #81AB9C

    oklch(70.6% 0.05 170.9)

  6. Step 500

    500

    #5F9784

    oklch(63.2% 0.066 170.6)

  7. Step 600

    600

    #44816E

    oklch(55.6% 0.071 171.3)

  8. Step 700

    700

    #356D5C

    oklch(49.1% 0.066 171.4)

  9. Step 800

    800 (this color)

    #335F51

    oklch(44.9% 0.055 171.2)

  10. Step 900

    900

    #29493F

    oklch(37.7% 0.042 172)

  11. Step 950

    950

    #182B25

    oklch(27% 0.027 172.2)

Export this scale for Tailwind in the Tailwind colors tool

#335F51 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)#5D5A500.057
Deuteranopia (no green cones)#5555520.053
Tritanopia (no blue cones)#25605B0.018
Achromatopsia (no color)#5757570.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #335F51

    #335F51

    oklch(44.9% 0.055 171.2)

  • #6D4859

    #6D4859

    oklch(44.9% 0.056 350.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335F51

    #335F51

    oklch(44.9% 0.055 171.2)

  • #445D40

    #445D40

    oklch(45% 0.055 141.1)

  • #2B5E62

    #2B5E62

    oklch(44.9% 0.055 202.2)

Open the analogous palette in the generator

Split complementary

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

  • #335F51

    #335F51

    oklch(44.9% 0.055 171.2)

  • #634B68

    #634B68

    oklch(44.9% 0.055 320.5)

  • #704948

    #704948

    oklch(44.9% 0.054 21)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335F51

    #335F51

    oklch(44.9% 0.055 171.2)

  • #555071

    #555071

    oklch(45% 0.054 291)

  • #6E4C39

    #6E4C39

    oklch(44.9% 0.055 50.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335F51

    #335F51

    oklch(44.9% 0.055 171.2)

  • #445574

    #445574

    oklch(44.8% 0.055 262.1)

  • #6D4859

    #6D4859

    oklch(44.9% 0.056 350.5)

  • #655231

    #655231

    oklch(45% 0.055 80.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335F51 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.