#217F7D#217F7D

#217F7D is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.084 H 192.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#217F7D
RGBrgb(33, 127, 125)
HSLhsl(179, 59%, 31%)
HSVhsv(179, 74%, 50%)
CMYKcmyk(74%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.24, -26.63, -6.69)
CIE-LCHlch(48.24, 27.46, 194.10°)
OKLaboklab(54.38% -0.0817 -0.0186)
OKLCHoklch(54.38% 0.084 192.8)
XYZxyz(11.9165, 16.9813, 22.0477)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F7D #7F2123
analogous
#217F4E #217F7D #21527F
triadic
#217F7D #7D217F #7F7D21
tetradic
#217F7D #4E217F #7F2123 #527F21
square
#217F7D #4E217F #7F2123 #527F21
split-complementary
#217F7D #7F2152 #7F4E21
monochromatic
#081E1D #144E4D #217F7D #2EB0AD #4AD0CD

Accessibility & contrast

On white

4.78
#217F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#217F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F7D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F7D#FFFFFF#000000##FFFFFF
##217F7D1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787D
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217f7d;
/* rgb */ color: rgb(33, 127, 125);
/* oklch */ color: oklch(54.4% 0.084 192.8);
Tailwind
colors: {
  custom: {
    50: '#6da4a2',
    500: '#217f7d',
    950: '#000000',
  },
}
SCSS
$custom: #217f7d;
$custom-light: #6da4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#217f7d",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.723,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.08384,
    "h": 192.8
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#217F7D
secondary
#B24A4C
accent
#4649E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #217F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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