#338B97#338B97
#338B97 is a mid, moderate teal. Relative luminance 0.214; OKLCH L 59.0% C 0.084 H 207.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #338B97 |
|---|---|
| RGB | rgb(51, 139, 151) |
| HSL | hsl(187, 50%, 40%) |
| HSV | hsv(187, 66%, 59%) |
| CMYK | cmyk(66.2%, 7.9%, 0%, 40.8%) |
| CIE-LAB | lab(53.39, -21.96, -14.10) |
| CIE-LCH | lch(53.39, 26.10, 212.70°) |
| OKLab | oklab(58.97% -0.0742 -0.0391) |
| OKLCH | oklch(58.97% 0.084 207.8) |
| XYZ | xyz(16.1814, 21.4016, 32.5503) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal Blue
#01889F
ΔE00 4.05
Dark Cyan
#0A888A
ΔE00 5.57
Darkcyan
#008B8B
ΔE00 6.29
Ocean
#017B92
ΔE00 7.36
Greenish Blue
#0B8B87
ΔE00 7.68
Teal
#008080
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338B97 #973F33
analogous
#339771 #338B97 #335997
triadic
#338B97 #97338B #8B9733
tetradic
#338B97 #713397 #973F33 #599733
square
#338B97 #713397 #973F33 #599733
split-complementary
#338B97 #973359 #977133
monochromatic
#14373C #246169 #338B97 #47B2C1 #74C5D0
Accessibility & contrast
On white
3.98
#338B97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#338B97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338B97
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338B97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338B97 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8698
Deuteranopia (green-blind)
#717B97
Tritanopia (blue-blind)
#00918F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #338b97; /* rgb */ color: rgb(51, 139, 151); /* oklch */ color: oklch(59.0% 0.084 207.8);
Tailwind
colors: {
custom: {
50: '#78adb5',
500: '#338b97',
950: '#000000',
},
}SCSS
$custom: #338b97; $custom-light: #78adb5; $custom-dark: #000000;
JSON
{
"hex": "#338b97",
"rgb": {
"r": 51,
"g": 139,
"b": 151
},
"hsl": {
"h": 187.2,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.58967,
"c": 0.08386,
"h": 207.8
},
"luminance": 0.21403
}Semantic roles & 50–950 ramp
primary
#338B97
secondary
#B8766D
accent
#5F4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80