#217A7B#217A7B

#217A7B is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.0% C 0.080 H 196.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#217A7B
RGBrgb(33, 122, 123)
HSLhsl(181, 58%, 31%)
HSVhsv(181, 73%, 48%)
CMYKcmyk(73.2%, 0.8%, 0%, 51.8%)
CIE-LABlab(46.54, -24.73, -8.04)
CIE-LCHlch(46.54, 26.00, 198.01°)
OKLaboklab(52.99% -0.0773 -0.0223)
OKLCHoklch(52.99% 0.08 196.1)
XYZxyz(11.1603, 15.6711, 21.1717)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A7B #7B2221
analogous
#217B4F #217A7B #214D7B
triadic
#217A7B #7B217A #7A7B21
tetradic
#217A7B #4F217B #7B2221 #4D7B21
square
#217A7B #4F217B #7B2221 #4D7B21
split-complementary
#217A7B #7B214D #7B4F21
monochromatic
#071A1A #144A4B #217A7B #2EAAAB #48CDCE

Accessibility & contrast

On white

5.08
#217A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A7B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A7B#FFFFFF#000000##FFFFFF
##217A7B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747B
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217a7b;
/* rgb */ color: rgb(33, 122, 123);
/* oklch */ color: oklch(53.0% 0.080 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ca1a1',
    500: '#217a7b',
    950: '#000000',
  },
}
SCSS
$custom: #217a7b;
$custom-light: #6ca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#217a7b",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 123
  },
  "hsl": {
    "h": 180.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.08047,
    "h": 196.1
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#217A7B
secondary
#AE4B4A
accent
#4947E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0E
muted
#7A7E7E

Preview Lab

Preview with #217A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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