#217E7B#217E7B

#217E7B is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.083 H 191.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#217E7B
RGBrgb(33, 126, 123)
HSLhsl(178, 58%, 31%)
HSVhsv(178, 74%, 49%)
CMYKcmyk(73.8%, 0%, 2.4%, 50.6%)
CIE-LABlab(47.85, -26.75, -6.09)
CIE-LCHlch(47.85, 27.43, 192.83°)
OKLaboklab(54.05% -0.0816 -0.017)
OKLCHoklch(54.05% 0.083 191.8)
XYZxyz(11.6616, 16.6737, 21.3388)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E7B #7E2124
analogous
#217E4C #217E7B #21527E
triadic
#217E7B #7B217E #7E7B21
tetradic
#217E7B #4C217E #7E2124 #527E21
square
#217E7B #4C217E #7E2124 #527E21
split-complementary
#217E7B #7E2152 #7E4C21
monochromatic
#081D1C #144E4C #217E7B #2EAEAA #4AD0CB

Accessibility & contrast

On white

4.84
#217E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#217E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E7B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E7B#FFFFFF#000000##FFFFFF
##217E7B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777B
Deuteranopia (green-blind)
#696D7C
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217e7b;
/* rgb */ color: rgb(33, 126, 123);
/* oklch */ color: oklch(54.0% 0.083 191.8);
Tailwind
colors: {
  custom: {
    50: '#6ca4a1',
    500: '#217e7b',
    950: '#000000',
  },
}
SCSS
$custom: #217e7b;
$custom-light: #6ca4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#217e7b",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 123
  },
  "hsl": {
    "h": 178.065,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.08337,
    "h": 191.8
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#217E7B
secondary
#B14A4D
accent
#464BE2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #217E7B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#217E7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva