#335A51

Closest named color: Dark Green Blue (#1F6357). oklch(43.6% 0.047 177.5), rgb(51, 90, 81).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (44%)
Chromamuted (0.047)
Temperaturecool
Nearest nameDark Green Blue (#1F6357)
Black text2.72:1
White text7.71:1

Values

HEX#335A51
RGBrgb(51, 90, 81)
HSLhsl(166, 28%, 28%)
OKLCHoklch(43.6% 0.047 177.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 #335A51 7.71:1 AAA Lc -91.5 Preferred for body text
Black text on #335A51 2.72:1 Fails Lc 17.3 Dividers and decoration only
#335A51 text on white 7.71:1 AAA Lc 86.7 Fine for body text
#335A51 text on black 2.72:1 Fails Lc -15.4 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

    #E5ECEA

    oklch(93.7% 0.008 177.3)

  3. Step 200

    200

    #CFDDD9

    oklch(88.6% 0.016 177)

  4. Step 300

    300

    #AFC7C0

    oklch(81% 0.028 176.2)

  5. Step 400

    400

    #84AAA0

    oklch(70.7% 0.044 177.1)

  6. Step 500

    500

    #649589

    oklch(63.1% 0.056 177.3)

  7. Step 600

    600

    #497F73

    oklch(55.5% 0.061 178)

  8. Step 700

    700

    #3A6B60

    oklch(49% 0.057 177.6)

  9. Step 800

    800 (this color)

    #335A51

    oklch(43.6% 0.047 177.5)

  10. Step 900

    900

    #2B4841

    oklch(37.6% 0.037 177.2)

  11. Step 950

    950

    #1A2A26

    oklch(26.9% 0.023 177.2)

Export this scale for Tailwind in the Tailwind colors tool

#335A51 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)#5756510.049
Deuteranopia (no green cones)#5151520.048
Tritanopia (no blue cones)#265B570.014
Achromatopsia (no color)#5353530.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A51

    #335A51

    oklch(43.6% 0.047 177.5)

  • #674751

    #674751

    oklch(43.7% 0.046 358.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A51

    #335A51

    oklch(43.6% 0.047 177.5)

  • #405942

    #405942

    oklch(43.7% 0.048 146.7)

  • #30595F

    #30595F

    oklch(43.7% 0.047 207.7)

Open the analogous palette in the generator

Split complementary

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

  • #335A51

    #335A51

    oklch(43.6% 0.047 177.5)

  • #60485F

    #60485F

    oklch(43.6% 0.048 327.7)

  • #694743

    #694743

    oklch(43.5% 0.048 26.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A51

    #335A51

    oklch(43.6% 0.047 177.5)

  • #544C68

    #544C68

    oklch(43.6% 0.046 297.5)

  • #654B37

    #654B37

    oklch(43.5% 0.047 58.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A51

    #335A51

    oklch(43.6% 0.047 177.5)

  • #46516C

    #46516C

    oklch(43.7% 0.047 267.3)

  • #674751

    #674751

    oklch(43.7% 0.046 358.8)

  • #5C5033

    #5C5033

    oklch(43.6% 0.046 87.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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