#217B7E#217B7E

#217B7E is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.4% C 0.081 H 198.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#217B7E
RGBrgb(33, 123, 126)
HSLhsl(182, 58%, 31%)
HSVhsv(182, 74%, 49%)
CMYKcmyk(73.8%, 2.4%, 0%, 50.6%)
CIE-LABlab(46.97, -24.29, -9.18)
CIE-LCHlch(46.97, 25.97, 200.70°)
OKLaboklab(53.36% -0.077 -0.0255)
OKLCHoklch(53.36% 0.081 198.3)
XYZxyz(11.4744, 15.9943, 22.2171)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B7E #7E2421
analogous
#217E52 #217B7E #214C7E
triadic
#217B7E #7E217B #7B7E21
tetradic
#217B7E #52217E #7E2421 #4C7E21
square
#217B7E #52217E #7E2421 #4C7E21
split-complementary
#217B7E #7E214C #7E5221
monochromatic
#081C1D #144C4E #217B7E #2EAAAE #4ACBD0

Accessibility & contrast

On white

5.00
#217B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#217B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B7E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B7E#FFFFFF#000000##FFFFFF
##217B7E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757E
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#007F7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217b7e;
/* rgb */ color: rgb(33, 123, 126);
/* oklch */ color: oklch(53.4% 0.081 198.3);
Tailwind
colors: {
  custom: {
    50: '#6ca1a3',
    500: '#217b7e',
    950: '#000000',
  },
}
SCSS
$custom: #217b7e;
$custom-light: #6ca1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#217b7e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 126
  },
  "hsl": {
    "h": 181.935,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.08109,
    "h": 198.3
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#217B7E
secondary
#B14D4A
accent
#4B46E2
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #217B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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