#217A8B#217A8B
#217A8B is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.6% C 0.084 H 213.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #217A8B |
|---|---|
| RGB | rgb(33, 122, 139) |
| HSL | hsl(190, 62%, 34%) |
| HSV | hsv(190, 76%, 55%) |
| CMYK | cmyk(76.3%, 12.2%, 0%, 45.5%) |
| CIE-LAB | lab(47.11, -19.51, -16.66) |
| CIE-LCH | lch(47.11, 25.65, 220.49°) |
| OKLab | oklab(53.64% -0.0701 -0.0464) |
| OKLCH | oklch(53.64% 0.084 213.5) |
| XYZ | xyz(12.2449, 16.1050, 26.8843) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.06
Deep Aqua
#08787F
ΔE00 5.02
Teal Blue
#01889F
ΔE00 5.39
Sea Blue
#047495
ΔE00 6.23
Dirty Blue
#3F829D
ΔE00 6.67
Deep Turquoise
#017374
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217A8B #8B3221
analogous
#218B67 #217A8B #21458B
triadic
#217A8B #8B217A #7A8B21
tetradic
#217A8B #67218B #8B3221 #458B21
square
#217A8B #67218B #8B3221 #458B21
split-complementary
#217A8B #8B2145 #8B6721
monochromatic
#0A2328 #154F5A #217A8B #2DA5BC #51C0D6
Accessibility & contrast
On white
4.97
#217A8B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#217A8B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217A8B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217A8B | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #217a8b; /* rgb */ color: rgb(33, 122, 139); /* oklch */ color: oklch(53.6% 0.084 213.5);
Tailwind
colors: {
custom: {
50: '#6ea0ad',
500: '#217a8b',
950: '#000000',
},
}SCSS
$custom: #217a8b; $custom-light: #6ea0ad; $custom-dark: #000000;
JSON
{
"hex": "#217a8b",
"rgb": {
"r": 33,
"g": 122,
"b": 139
},
"hsl": {
"h": 189.623,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.53637,
"c": 0.08407,
"h": 213.5
},
"luminance": 0.16106
}Semantic roles & 50–950 ramp
primary
#217A8B
secondary
#B9604F
accent
#5D43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F