#217B7B#217B7B

#217B7B is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.3% C 0.081 H 195.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#217B7B
RGBrgb(33, 123, 123)
HSLhsl(180, 58%, 31%)
HSVhsv(180, 73%, 48%)
CMYKcmyk(73.2%, 0%, 0%, 51.8%)
CIE-LABlab(46.87, -25.24, -7.55)
CIE-LCHlch(46.87, 26.34, 196.66°)
OKLaboklab(53.25% -0.0784 -0.021)
OKLCHoklch(53.25% 0.081 195)
XYZxyz(11.2837, 15.9180, 21.2128)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B7B #7B2121
analogous
#217B4E #217B7B #214E7B
triadic
#217B7B #7B217B #7B7B21
tetradic
#217B7B #4E217B #7B2121 #4E7B21
square
#217B7B #4E217B #7B2121 #4E7B21
split-complementary
#217B7B #7B214E #7B4E21
monochromatic
#071A1A #144B4B #217B7B #2EABAB #48CECE

Accessibility & contrast

On white

5.02
#217B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#217B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B7B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B7B#FFFFFF#000000##FFFFFF
##217B7B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757B
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217b7b;
/* rgb */ color: rgb(33, 123, 123);
/* oklch */ color: oklch(53.3% 0.081 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ca1a1',
    500: '#217b7b',
    950: '#000000',
  },
}
SCSS
$custom: #217b7b;
$custom-light: #6ca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#217b7b",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 123
  },
  "hsl": {
    "h": 180,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.08115,
    "h": 195
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#217B7B
secondary
#AE4A4A
accent
#4747E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0E
muted
#7A7E7E

Preview Lab

Preview with #217B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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