#335047

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.038 172.9), rgb(51, 80, 71).

Aa

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

About this color

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

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

Values

HEX#335047
RGBrgb(51, 80, 71)
HSLhsl(161, 22%, 26%)
OKLCHoklch(40.5% 0.038 172.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 #335047 8.82:1 AAA Lc -94.6 Preferred for body text
Black text on #335047 2.37:1 Fails Lc 13.8 Not readable
#335047 text on white 8.82:1 AAA Lc 90.1 Preferred for body text
#335047 text on black 2.37:1 Fails Lc -12.1 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

    #D1DCD8

    oklch(88.5% 0.013 172.3)

  4. Step 300

    300

    #B3C6BF

    oklch(81% 0.023 171.6)

  5. Step 400

    400

    #8BA89E

    oklch(70.7% 0.035 172.3)

  6. Step 500

    500

    #6D9387

    oklch(63.1% 0.046 173.3)

  7. Step 600

    600

    #557D70

    oklch(55.6% 0.049 172.2)

  8. Step 700

    700

    #45695E

    oklch(49% 0.045 173.2)

  9. Step 800

    800 (this color)

    #335047

    oklch(40.5% 0.038 172.9)

  10. Step 900

    900

    #314740

    oklch(37.7% 0.03 172.9)

  11. Step 950

    950

    #1D2A25

    oklch(27.1% 0.02 169.2)

Export this scale for Tailwind in the Tailwind colors tool

#335047 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)#4E4C470.040
Deuteranopia (no green cones)#4949480.037
Tritanopia (no blue cones)#2B514D0.012
Achromatopsia (no color)#4A4A4A0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #335047

    #335047

    oklch(40.5% 0.038 172.9)

  • #5A414B

    #5A414B

    oklch(40.6% 0.038 353.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335047

    #335047

    oklch(40.5% 0.038 172.9)

  • #3D4F3C

    #3D4F3C

    oklch(40.6% 0.039 143.5)

  • #2F4F52

    #2F4F52

    oklch(40.4% 0.038 203.4)

Open the analogous palette in the generator

Split complementary

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

  • #335047

    #335047

    oklch(40.5% 0.038 172.9)

  • #534255

    #534255

    oklch(40.4% 0.038 322.8)

  • #5C413F

    #5C413F

    oklch(40.5% 0.038 23.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335047

    #335047

    oklch(40.5% 0.038 172.9)

  • #4A455C

    #4A455C

    oklch(40.5% 0.039 294.6)

  • #5A4436

    #5A4436

    oklch(40.6% 0.038 53.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335047

    #335047

    oklch(40.5% 0.038 172.9)

  • #3E495E

    #3E495E

    oklch(40.4% 0.038 263.2)

  • #5A414B

    #5A414B

    oklch(40.6% 0.038 353.1)

  • #534731

    #534731

    oklch(40.4% 0.038 82.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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