#335154

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

Aa

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

About this color

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

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

Values

HEX#335154
RGBrgb(51, 81, 84)
HSLhsl(185, 24%, 26%)
OKLCHoklch(41.3% 0.036 203.8)

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 #335154 8.58:1 AAA Lc -94.0 Preferred for body text
Black text on #335154 2.44:1 Fails Lc 14.5 Not readable
#335154 text on white 8.58:1 AAA Lc 89.5 Fine for body text
#335154 text on black 2.44:1 Fails Lc -12.8 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

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D1DBDC

    oklch(88.4% 0.011 204.1)

  4. Step 300

    300

    #B2C5C7

    oklch(81% 0.021 204.4)

  5. Step 400

    400

    #89A7AA

    oklch(70.7% 0.033 203.9)

  6. Step 500

    500

    #6B9195

    oklch(63% 0.042 204.2)

  7. Step 600

    600

    #527C80

    oklch(55.7% 0.047 203.5)

  8. Step 700

    700

    #42686C

    oklch(49% 0.044 204.3)

  9. Step 800

    800 (this color)

    #335154

    oklch(41.3% 0.036 203.8)

  10. Step 900

    900

    #304648

    oklch(37.7% 0.028 203.1)

  11. Step 950

    950

    #1C292A

    oklch(26.9% 0.018 202.1)

Export this scale for Tailwind in the Tailwind colors tool

#335154 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)#4D4F540.036
Deuteranopia (no green cones)#474A540.034
Tritanopia (no blue cones)#2653520.016
Achromatopsia (no color)#4C4C4C0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #335154

    #335154

    oklch(41.3% 0.036 203.8)

  • #5D4442

    #5D4442

    oklch(41.3% 0.035 23.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335154

    #335154

    oklch(41.3% 0.036 203.8)

  • #365249

    #365249

    oklch(41.3% 0.037 172.3)

  • #384F5C

    #384F5C

    oklch(41.4% 0.036 233.5)

Open the analogous palette in the generator

Split complementary

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

  • #335154

    #335154

    oklch(41.3% 0.036 203.8)

  • #5B434C

    #5B434C

    oklch(41.2% 0.036 354.4)

  • #5B4639

    #5B4639

    oklch(41.3% 0.036 53.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335154

    #335154

    oklch(41.3% 0.036 203.8)

  • #554556

    #554556

    oklch(41.3% 0.035 324.3)

  • #544A35

    #544A35

    oklch(41.3% 0.035 85.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335154

    #335154

    oklch(41.3% 0.036 203.8)

  • #4C485D

    #4C485D

    oklch(41.4% 0.035 293.5)

  • #5D4442

    #5D4442

    oklch(41.3% 0.035 23.9)

  • #4B4D37

    #4B4D37

    oklch(41.2% 0.035 112.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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