#338B87

Closest named color: Dark Cyan (#008B8B). oklch(58.4% 0.083 190.9), rgb(51, 139, 135).

Aa

Black text reads best on this color (5.18:1).

About this color

#338B87 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 58%, its chroma 0.083 and its hue 191°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Cyan (#008B8B), ΔE 0.018 away. Black text reads best on it, at 5.18:1.

Hue familyTeals and cyans
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameDark Cyan (#008B8B)
Black text5.18:1
White text4.05:1

Values

HEX#338B87
RGBrgb(51, 139, 135)
HSLhsl(177, 46%, 37%)
OKLCHoklch(58.4% 0.083 190.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 #338B87 4.05:1 AA large text Lc -73.0 Content text, not long reading
Black text on #338B87 5.18:1 AA Lc 36.6 Non-text elements, placeholder text
#338B87 text on white 4.05:1 AA large text Lc 67.5 Content text, not long reading
#338B87 text on black 5.18:1 AA Lc -34.2 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E2ECEB

    oklch(93.5% 0.011 189.8)

  3. Step 200

    200

    #CADEDC

    oklch(88.5% 0.022 189.5)

  4. Step 300

    300

    #A6C9C6

    oklch(81% 0.038 190)

  5. Step 400

    400

    #74ADA9

    oklch(70.7% 0.06 190.3)

  6. Step 500

    500

    #4C9894

    oklch(63% 0.076 190.9)

  7. Step 600

    600 (this color)

    #338B87

    oklch(58.4% 0.083 190.9)

  8. Step 700

    700

    #196E6B

    oklch(49% 0.077 191.4)

  9. Step 800

    800

    #195A57

    oklch(42.7% 0.064 190.6)

  10. Step 900

    900

    #1D4A48

    oklch(37.7% 0.049 191.3)

  11. Step 950

    950

    #122B2A

    oklch(26.9% 0.031 192.1)

Export this scale for Tailwind in the Tailwind colors tool

#338B87 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)#8384870.087
Deuteranopia (no green cones)#757A880.082
Tritanopia (no blue cones)#008F8A0.019
Achromatopsia (no color)#7E7E7E0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #338B87

    #338B87

    oklch(58.4% 0.083 190.9)

  • #A6666F

    #A6666F

    oklch(58.3% 0.083 10.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338B87

    #338B87

    oklch(58.4% 0.083 190.9)

  • #4B8B6B

    #4B8B6B

    oklch(58.5% 0.083 160.5)

  • #39879E

    #39879E

    oklch(58.5% 0.083 220.4)

Open the analogous palette in the generator

Split complementary

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

  • #338B87

    #338B87

    oklch(58.4% 0.083 190.9)

  • #9D688A

    #9D688A

    oklch(58.4% 0.082 341.1)

  • #A56A55

    #A56A55

    oklch(58.2% 0.082 40.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338B87

    #338B87

    oklch(58.4% 0.083 190.9)

  • #8B6DA0

    #8B6DA0

    oklch(58.3% 0.083 310.8)

  • #9A7342

    #9A7342

    oklch(58.4% 0.082 71.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338B87

    #338B87

    oklch(58.4% 0.083 190.9)

  • #7276AC

    #7276AC

    oklch(58.4% 0.083 280.2)

  • #A6666F

    #A6666F

    oklch(58.3% 0.083 10.8)

  • #867D40

    #867D40

    oklch(58.4% 0.083 101)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #338B87 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.