#338F7E

Closest named color: Dusty Teal (#4C9085). oklch(59.1% 0.09 178.5), rgb(51, 143, 126).

Aa

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

About this color

#338F7E is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 59%, its chroma 0.090 and its hue 179°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Teal (#4C9085), ΔE 0.024 away. Black text reads best on it, at 5.37:1.

Hue familyTeals and cyans
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameDusty Teal (#4C9085)
Black text5.37:1
White text3.90:1

Values

HEX#338F7E
RGBrgb(51, 143, 126)
HSLhsl(169, 47%, 38%)
OKLCHoklch(59.1% 0.09 178.5)

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 #338F7E 3.90:1 AA large text Lc -71.7 Content text, not long reading
Black text on #338F7E 5.37:1 AA Lc 37.8 Non-text elements, placeholder text
#338F7E text on white 3.90:1 AA large text Lc 66.2 Content text, not long reading
#338F7E text on black 5.37:1 AA Lc -35.4 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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E2EDEA

    oklch(93.7% 0.012 178)

  3. Step 200

    200

    #CADED9

    oklch(88.4% 0.022 179.1)

  4. Step 300

    300

    #A5CAC1

    oklch(81% 0.041 178.8)

  5. Step 400

    400

    #73AEA1

    oklch(70.6% 0.064 178.9)

  6. Step 500

    500

    #4A9A8A

    oklch(63.1% 0.083 178.6)

  7. Step 600

    600 (this color)

    #338F7E

    oklch(59.1% 0.09 178.5)

  8. Step 700

    700

    #157061

    oklch(49.1% 0.084 178.4)

  9. Step 800

    800

    #175B4F

    oklch(42.6% 0.069 178.4)

  10. Step 900

    900

    #1B4B42

    oklch(37.7% 0.054 178.9)

  11. Step 950

    950

    #122C27

    oklch(27.1% 0.034 179.6)

Export this scale for Tailwind in the Tailwind colors tool

#338F7E 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)#89877D0.094
Deuteranopia (no green cones)#7C7D7F0.090
Tritanopia (no blue cones)#00918A0.021
Achromatopsia (no color)#8181810.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F7E

    #338F7E

    oklch(59.1% 0.09 178.5)

  • #A9667D

    #A9667D

    oklch(59.1% 0.091 358.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F7E

    #338F7E

    oklch(59.1% 0.09 178.5)

  • #568C5F

    #568C5F

    oklch(59% 0.089 148.5)

  • #298C9A

    #298C9A

    oklch(59.1% 0.09 208.8)

Open the analogous palette in the generator

Split complementary

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

  • #338F7E

    #338F7E

    oklch(59.1% 0.09 178.5)

  • #9B6A98

    #9B6A98

    oklch(59.1% 0.089 328.7)

  • #AD685F

    #AD685F

    oklch(59.1% 0.091 28.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F7E

    #338F7E

    oklch(59.1% 0.09 178.5)

  • #8471AC

    #8471AC

    oklch(59% 0.091 298.4)

  • #A67045

    #A67045

    oklch(59.2% 0.09 58.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F7E

    #338F7E

    oklch(59.1% 0.09 178.5)

  • #677BB4

    #677BB4

    oklch(59.1% 0.091 268.8)

  • #A9667D

    #A9667D

    oklch(59.1% 0.091 358.2)

  • #947A39

    #947A39

    oklch(59.1% 0.09 87.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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