#338F97#338F97
#338F97 is a mid, moderate teal. Relative luminance 0.226; OKLCH L 60.0% C 0.085 H 203.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #338F97 |
|---|---|
| RGB | rgb(51, 143, 151) |
| HSL | hsl(185, 50%, 40%) |
| HSV | hsv(185, 66%, 59%) |
| CMYK | cmyk(66.2%, 5.3%, 0%, 40.8%) |
| CIE-LAB | lab(54.64, -24.03, -12.21) |
| CIE-LCH | lch(54.64, 26.96, 206.93°) |
| OKLab | oklab(59.98% -0.0785 -0.0338) |
| OKLCH | oklch(59.98% 0.085 203.3) |
| XYZ | xyz(16.7712, 22.5812, 32.7469) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 4.66
Darkcyan
#008B8B
ΔE00 4.92
Teal Blue
#01889F
ΔE00 6.02
Greenish Blue
#0B8B87
ΔE00 6.18
Cadetblue
#5F9EA0
ΔE00 6.84
Sea
#3C9992
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338F97 #973B33
analogous
#33976D #338F97 #335D97
triadic
#338F97 #97338F #8F9733
tetradic
#338F97 #6D3397 #973B33 #5D9733
square
#338F97 #6D3397 #973B33 #5D9733
split-complementary
#338F97 #97335D #976D33
monochromatic
#14383C #246469 #338F97 #47B7C1 #74C9D0
Accessibility & contrast
On white
3.81
#338F97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#338F97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338F97
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338F97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338F97 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#848998
Deuteranopia (green-blind)
#757E97
Tritanopia (blue-blind)
#009591
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #338f97; /* rgb */ color: rgb(51, 143, 151); /* oklch */ color: oklch(60.0% 0.085 203.3);
Tailwind
colors: {
custom: {
50: '#78b0b5',
500: '#338f97',
950: '#000000',
},
}SCSS
$custom: #338f97; $custom-light: #78b0b5; $custom-dark: #000000;
JSON
{
"hex": "#338f97",
"rgb": {
"r": 51,
"g": 143,
"b": 151
},
"hsl": {
"h": 184.8,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.59977,
"c": 0.08549,
"h": 203.3
},
"luminance": 0.22583
}Semantic roles & 50–950 ramp
primary
#338F97
secondary
#B8736D
accent
#5A4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80