#338778
Closest named color: Dark Cyan (#008B8B). oklch(56.8% 0.084 179.3), rgb(51, 135, 120).
Aa
Black text reads best on this color (4.87:1).
About this color
#338778 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 57%, its chroma 0.084 and its hue 179°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Cyan (#008B8B), ΔE 0.030 away. Black text reads best on it, at 4.87:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.084) |
| Temperature | cool |
| Nearest name | Dark Cyan (#008B8B) |
| Black text | 4.87:1 |
| White text | 4.30:1 |
Values
| HEX | #338778 |
| RGB | rgb(51, 135, 120) |
| HSL | hsl(169, 45%, 36%) |
| OKLCH | oklch(56.8% 0.084 179.3) |
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 #338778 | 4.30:1 | AA large text | Lc -75.0 | Fine for body text |
| Black text on #338778 | 4.87:1 | AA | Lc 34.5 | Non-text elements, placeholder text |
| #338778 text on white | 4.30:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #338778 text on black | 4.87:1 | AA | Lc -32.1 | 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
#E3ECEA
oklch(93.6% 0.01 181.4)
-
Step 200
200
#CBDED9
oklch(88.5% 0.021 178.3)
-
Step 300
300
#A7C9C1
oklch(80.9% 0.038 179.4)
-
Step 400
400
#76ADA1
oklch(70.6% 0.061 179.3)
-
Step 500
500
#50998B
oklch(63.1% 0.077 179.7)
-
Step 600
600 (this color)
#338778
oklch(56.8% 0.084 179.3)
-
Step 700
700
#206F62
oklch(49.1% 0.078 179.6)
-
Step 800
800
#1D5A50
oklch(42.6% 0.064 180.2)
-
Step 900
900
#1F4A42
oklch(37.6% 0.05 179.6)
-
Step 950
950
#132C27
oklch(27.1% 0.033 179.2)
#338778 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) | #827F77 | 0.089 |
| Deuteranopia (no green cones) | #757679 | 0.084 |
| Tritanopia (no blue cones) | #008982 | 0.021 |
| Achromatopsia (no color) | #7A7A7A | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338778
#338778
oklch(56.8% 0.084 179.3)
- #9F6175
#9F6175
oklch(56.7% 0.084 359.3)
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 #338778, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Cyan #008B8B ΔE 0.030
- Teal #008080 ΔE 0.036
- Dusty Teal #4C9085 ΔE 0.039
- Viridian #1E9167 ΔE 0.047
- Teal Green #0A9396 ΔE 0.048
- Bluegreen #017A79 ΔE 0.049
- Dark Sage #598556 ΔE 0.053
- Sea Green #2E8B57 ΔE 0.055
Use #338778 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.