#217A7A#217A7A

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

Color values

HEX#217A7A
RGBrgb(33, 122, 122)
HSLhsl(180, 57%, 30%)
HSVhsv(180, 73%, 48%)
CMYKcmyk(73%, 0%, 0%, 52.2%)
CIE-LABlab(46.51, -25.04, -7.50)
CIE-LCHlch(46.51, 26.14, 196.66°)
OKLaboklab(52.95% -0.0778 -0.0208)
OKLCHoklch(52.95% 0.081 195)
XYZxyz(11.0980, 15.6462, 20.8437)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A7A #7A2121
analogous
#217A4D #217A7A #214D7A
triadic
#217A7A #7A217A #7A7A21
tetradic
#217A7A #4D217A #7A2121 #4D7A21
square
#217A7A #4D217A #7A2121 #4D7A21
split-complementary
#217A7A #7A214D #7A4D21
monochromatic
#071A1A #144A4A #217A7A #2EAAAA #48CDCD

Accessibility & contrast

On white

5.09
#217A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A7A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A7A#FFFFFF#000000##FFFFFF
##217A7A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747A
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217a7a;
/* rgb */ color: rgb(33, 122, 122);
/* oklch */ color: oklch(52.9% 0.081 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ca1a0',
    500: '#217a7a',
    950: '#000000',
  },
}
SCSS
$custom: #217a7a;
$custom-light: #6ca1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#217a7a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 180,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.08052,
    "h": 195
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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