#335158

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.037 214), rgb(51, 81, 88).

Aa

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

About this color

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

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

Values

HEX#335158
RGBrgb(51, 81, 88)
HSLhsl(191, 27%, 27%)
OKLCHoklch(41.4% 0.037 214)

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 #335158 8.54:1 AAA Lc -93.9 Preferred for body text
Black text on #335158 2.45:1 Fails Lc 14.7 Not readable
#335158 text on white 8.54:1 AAA Lc 89.3 Fine for body text
#335158 text on black 2.45:1 Fails Lc -12.9 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D1DBDE

    oklch(88.5% 0.012 217.6)

  4. Step 300

    300

    #B1C5C9

    oklch(81% 0.023 211.1)

  5. Step 400

    400

    #88A7AE

    oklch(70.7% 0.036 212.9)

  6. Step 500

    500

    #6A919A

    oklch(63.1% 0.045 213.5)

  7. Step 600

    600

    #517B85

    oklch(55.6% 0.049 214.3)

  8. Step 700

    700

    #426870

    oklch(49.2% 0.045 212.4)

  9. Step 800

    800 (this color)

    #335158

    oklch(41.4% 0.037 214)

  10. Step 900

    900

    #2F464B

    oklch(37.7% 0.03 212.7)

  11. Step 950

    950

    #1C292C

    oklch(27% 0.019 213.5)

Export this scale for Tailwind in the Tailwind colors tool

#335158 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)#4C4F580.035
Deuteranopia (no green cones)#464A580.032
Tritanopia (no blue cones)#2454530.021
Achromatopsia (no color)#4C4C4C0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #335158

    #335158

    oklch(41.4% 0.037 214)

  • #5E443E

    #5E443E

    oklch(41.3% 0.038 33.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335158

    #335158

    oklch(41.4% 0.037 214)

  • #34524E

    #34524E

    oklch(41.4% 0.036 185.4)

  • #3A4E5F

    #3A4E5F

    oklch(41.4% 0.038 244.5)

Open the analogous palette in the generator

Split complementary

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

  • #335158

    #335158

    oklch(41.4% 0.037 214)

  • #5D4349

    #5D4349

    oklch(41.3% 0.037 3.5)

  • #5A4736

    #5A4736

    oklch(41.3% 0.037 63.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335158

    #335158

    oklch(41.4% 0.037 214)

  • #584454

    #584454

    oklch(41.4% 0.037 333.3)

  • #524B34

    #524B34

    oklch(41.3% 0.037 93.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335158

    #335158

    oklch(41.4% 0.037 214)

  • #50475C

    #50475C

    oklch(41.5% 0.036 304.4)

  • #5E443E

    #5E443E

    oklch(41.3% 0.038 33.3)

  • #474F39

    #474F39

    oklch(41.4% 0.037 124.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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