#338D9B

Closest named color: Teal Green (#0A9396). oklch(59.6% 0.086 209.6), rgb(51, 141, 155).

Aa

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

About this color

#338D9B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 60%, its chroma 0.086 and its hue 210°. Its hue sits on the cool side of the wheel. The nearest named color is Teal Green (#0A9396), ΔE 0.026 away. Black text reads best on it, at 5.42:1.

Hue familyTeals and cyans
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameTeal Green (#0A9396)
Black text5.42:1
White text3.87:1

Values

HEX#338D9B
RGBrgb(51, 141, 155)
HSLhsl(188, 50%, 40%)
OKLCHoklch(59.6% 0.086 209.6)

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 #338D9B 3.87:1 AA large text Lc -71.4 Content text, not long reading
Black text on #338D9B 5.42:1 AA Lc 38.2 Non-text elements, placeholder text
#338D9B text on white 3.87:1 AA large text Lc 65.9 Content text, not long reading
#338D9B text on black 5.42:1 AA Lc -35.8 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

    #F1F6F7

    oklch(97% 0.005 211)

  2. Step 100

    100

    #E1ECEE

    oklch(93.5% 0.012 209.8)

  3. Step 200

    200

    #C8DEE1

    oklch(88.5% 0.024 206.6)

  4. Step 300

    300

    #A2C9CF

    oklch(81% 0.042 207.8)

  5. Step 400

    400

    #6DACB7

    oklch(70.6% 0.067 209.7)

  6. Step 500

    500 (this color)

    #338D9B

    oklch(59.6% 0.086 209.6)

  7. Step 600

    600

    #0E8291

    oklch(55.7% 0.093 209.3)

  8. Step 700

    700

    #006D7B

    oklch(49% 0.085 210.2)

  9. Step 800

    800

    #065964

    oklch(42.6% 0.072 209.6)

  10. Step 900

    900

    #144A52

    oklch(37.8% 0.056 209.2)

  11. Step 950

    950

    #0E2B30

    oklch(27% 0.036 210.5)

Export this scale for Tailwind in the Tailwind colors tool

#338D9B 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)#81889C0.082
Deuteranopia (no green cones)#717D9B0.073
Tritanopia (no blue cones)#0093910.032
Achromatopsia (no color)#8181810.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #338D9B

    #338D9B

    oklch(59.6% 0.086 209.6)

  • #AC6B61

    #AC6B61

    oklch(59.6% 0.085 29.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338D9B

    #338D9B

    oklch(59.6% 0.086 209.6)

  • #3A9081

    #3A9081

    oklch(59.7% 0.086 179.9)

  • #4B86AD

    #4B86AD

    oklch(59.6% 0.086 239.4)

Open the analogous palette in the generator

Split complementary

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

  • #338D9B

    #338D9B

    oklch(59.6% 0.086 209.6)

  • #A9697D

    #A9697D

    oklch(59.6% 0.086 359.8)

  • #A57249

    #A57249

    oklch(59.6% 0.086 58.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338D9B

    #338D9B

    oklch(59.6% 0.086 209.6)

  • #9C6C98

    #9C6C98

    oklch(59.6% 0.086 329.5)

  • #937D3F

    #937D3F

    oklch(59.7% 0.086 90.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338D9B

    #338D9B

    oklch(59.6% 0.086 209.6)

  • #8773AB

    #8773AB

    oklch(59.6% 0.086 300.2)

  • #AC6B61

    #AC6B61

    oklch(59.6% 0.085 29.3)

  • #79874A

    #79874A

    oklch(59.7% 0.086 119.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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