#338F7B
Closest named color: Dusty Teal (#4C9085). oklch(59% 0.092 175.9), rgb(51, 143, 123).
Aa
Black text reads best on this color (5.35:1).
About this color
#338F7B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 59%, its chroma 0.092 and its hue 176°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Teal (#4C9085), ΔE 0.027 away. Black text reads best on it, at 5.35:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.092) |
| Temperature | cool |
| Nearest name | Dusty Teal (#4C9085) |
| Black text | 5.35:1 |
| White text | 3.92:1 |
Values
| HEX | #338F7B |
| RGB | rgb(51, 143, 123) |
| HSL | hsl(167, 47%, 38%) |
| OKLCH | oklch(59% 0.092 175.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #338F7B | 3.92:1 | AA large text | Lc -71.8 | Content text, not long reading |
| Black text on #338F7B | 5.35:1 | AA | Lc 37.7 | Non-text elements, placeholder text |
| #338F7B text on white | 3.92:1 | AA large text | Lc 66.3 | Content text, not long reading |
| #338F7B text on black | 5.35:1 | AA | Lc -35.3 | 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.
-
Step 50
50
#F2F7F5
oklch(97.2% 0.006 170.4)
-
Step 100
100
#E2EDE9
oklch(93.7% 0.013 172.4)
-
Step 200
200
#CADED8
oklch(88.4% 0.023 175.9)
-
Step 300
300
#A6CABF
oklch(81% 0.041 174.7)
-
Step 400
400
#73AE9F
oklch(70.6% 0.065 176.6)
-
Step 500
500
#4A9A87
oklch(63% 0.084 175.8)
-
Step 600
600 (this color)
#338F7B
oklch(59% 0.092 175.9)
-
Step 700
700
#16705F
oklch(49% 0.085 176.4)
-
Step 800
800
#175B4D
oklch(42.6% 0.07 175.9)
-
Step 900
900
#1B4B40
oklch(37.6% 0.055 175.6)
-
Step 950
950
#122C26
oklch(27% 0.034 176.7)
#338F7B 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #8A867A | 0.097 |
| Deuteranopia (no green cones) | #7D7D7C | 0.091 |
| Tritanopia (no blue cones) | #009189 | 0.023 |
| Achromatopsia (no color) | #818181 | 0.093 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338F7B
#338F7B
oklch(59% 0.092 175.9)
- #A9667F
#A9667F
oklch(59.1% 0.091 356.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #338F7B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Teal #4C9085 ΔE 0.027
- Dark Cyan #008B8B ΔE 0.035
- Viridian #1E9167 ΔE 0.036
- Ocean Green #3D9973 ΔE 0.037
- Blue Green #0F9B8E ΔE 0.037
- Teal Green #0A9396 ΔE 0.039
- Sea #3C9992 ΔE 0.041
- Persian Green #2A9D8F ΔE 0.043
Use #338F7B 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.