#335151

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.2% 0.036 195.9), rgb(51, 81, 81).

Aa

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

About this color

#335151 is a dark, muted teal or cyan. In OKLCH its lightness is 41%, its chroma 0.036 and its hue 196°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.009 away. White text reads best on it, at 8.61:1.

Hue familyTeals and cyans
Lightnessdark (41%)
Chromamuted (0.036)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.43:1
White text8.61:1

Values

HEX#335151
RGBrgb(51, 81, 81)
HSLhsl(180, 23%, 26%)
OKLCHoklch(41.2% 0.036 195.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 #335151 8.61:1 AAA Lc -94.1 Preferred for body text
Black text on #335151 2.43:1 Fails Lc 14.4 Not readable
#335151 text on white 8.61:1 AAA Lc 89.5 Fine for body text
#335151 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEB

    oklch(93.6% 0.006 197)

  3. Step 200

    200

    #D1DCDB

    oklch(88.6% 0.012 190.4)

  4. Step 300

    300

    #B2C5C5

    oklch(80.9% 0.021 196.7)

  5. Step 400

    400

    #89A7A7

    oklch(70.6% 0.033 196.4)

  6. Step 500

    500

    #6B9292

    oklch(63.1% 0.043 196.1)

  7. Step 600

    600

    #527C7C

    oklch(55.6% 0.047 195.9)

  8. Step 700

    700

    #436969

    oklch(49.2% 0.043 195.8)

  9. Step 800

    800 (this color)

    #335151

    oklch(41.2% 0.036 195.9)

  10. Step 900

    900

    #304646

    oklch(37.6% 0.027 196)

  11. Step 950

    950

    #1C2929

    oklch(26.9% 0.018 196.1)

Export this scale for Tailwind in the Tailwind colors tool

#335151 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)#4D4E510.037
Deuteranopia (no green cones)#484A510.035
Tritanopia (no blue cones)#2753510.014
Achromatopsia (no color)#4C4C4C0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #335151

    #335151

    oklch(41.2% 0.036 195.9)

  • #5D4344

    #5D4344

    oklch(41.2% 0.036 16.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335151

    #335151

    oklch(41.2% 0.036 195.9)

  • #385146

    #385146

    oklch(41.1% 0.036 165.7)

  • #364F5A

    #364F5A

    oklch(41.2% 0.036 227.1)

Open the analogous palette in the generator

Split complementary

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

  • #335151

    #335151

    oklch(41.2% 0.036 195.9)

  • #59434F

    #59434F

    oklch(41.1% 0.035 344.9)

  • #5C453B

    #5C453B

    oklch(41.2% 0.036 44.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335151

    #335151

    oklch(41.2% 0.036 195.9)

  • #524558

    #524558

    oklch(41.1% 0.035 315.1)

  • #564835

    #564835

    oklch(41.1% 0.035 75)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335151

    #335151

    oklch(41.2% 0.036 195.9)

  • #49485E

    #49485E

    oklch(41.1% 0.037 286.8)

  • #5D4344

    #5D4344

    oklch(41.2% 0.036 16.2)

  • #4D4C36

    #4D4C36

    oklch(41.1% 0.035 105.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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