#338D9D

Closest named color: Teal Blue (#01889F). oklch(59.7% 0.087 211.5), rgb(51, 141, 157).

Aa

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

About this color

#338D9D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 60%, its chroma 0.087 and its hue 212°. Its hue sits on the cool side of the wheel. The nearest named color is Teal Blue (#01889F), ΔE 0.026 away. Black text reads best on it, at 5.43:1.

Hue familyTeals and cyans
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameTeal Blue (#01889F)
Black text5.43:1
White text3.86:1

Values

HEX#338D9D
RGBrgb(51, 141, 157)
HSLhsl(189, 51%, 41%)
OKLCHoklch(59.7% 0.087 211.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 #338D9D 3.86:1 AA large text Lc -71.3 Content text, not long reading
Black text on #338D9D 5.43:1 AA Lc 38.3 Non-text elements, placeholder text
#338D9D text on white 3.86:1 AA large text Lc 65.8 Content text, not long reading
#338D9D text on black 5.43:1 AA Lc -35.9 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 500.

  1. Step 50

    50

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECEE

    oklch(93.5% 0.012 209.8)

  3. Step 200

    200

    #C8DEE2

    oklch(88.5% 0.024 209.8)

  4. Step 300

    300

    #A2C8D0

    oklch(80.8% 0.042 211.9)

  5. Step 400

    400

    #6DACB9

    oklch(70.7% 0.067 212.1)

  6. Step 500

    500 (this color)

    #338D9D

    oklch(59.7% 0.087 211.5)

  7. Step 600

    600

    #0E8293

    oklch(55.7% 0.094 211.2)

  8. Step 700

    700

    #006D7C

    oklch(49% 0.085 211.2)

  9. Step 800

    800

    #065966

    oklch(42.7% 0.073 212.2)

  10. Step 900

    900

    #144953

    oklch(37.6% 0.056 212.8)

  11. Step 950

    950

    #0E2B30

    oklch(27% 0.036 210.5)

Export this scale for Tailwind in the Tailwind colors tool

#338D9D 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)#80889E0.080
Deuteranopia (no green cones)#717D9D0.073
Tritanopia (no blue cones)#0094920.035
Achromatopsia (no color)#8282820.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #338D9D

    #338D9D

    oklch(59.7% 0.087 211.5)

  • #AD6B5F

    #AD6B5F

    oklch(59.6% 0.087 31)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338D9D

    #338D9D

    oklch(59.7% 0.087 211.5)

  • #389083

    #389083

    oklch(59.7% 0.086 182)

  • #4D86AE

    #4D86AE

    oklch(59.8% 0.086 240.8)

Open the analogous palette in the generator

Split complementary

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

  • #338D9D

    #338D9D

    oklch(59.7% 0.087 211.5)

  • #AA697C

    #AA697C

    oklch(59.7% 0.086 1.1)

  • #A57347

    #A57347

    oklch(59.7% 0.087 61.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338D9D

    #338D9D

    oklch(59.7% 0.087 211.5)

  • #9E6C97

    #9E6C97

    oklch(59.8% 0.087 331.6)

  • #927E3E

    #927E3E

    oklch(59.8% 0.087 92.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338D9D

    #338D9D

    oklch(59.7% 0.087 211.5)

  • #8873AB

    #8873AB

    oklch(59.7% 0.087 301)

  • #AD6B5F

    #AD6B5F

    oklch(59.6% 0.087 31)

  • #77884B

    #77884B

    oklch(59.8% 0.087 121.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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