#217B7D#217B7D

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

Color values

HEX#217B7D
RGBrgb(33, 123, 125)
HSLhsl(181, 58%, 31%)
HSVhsv(181, 74%, 49%)
CMYKcmyk(73.6%, 1.6%, 0%, 51%)
CIE-LABlab(46.93, -24.61, -8.64)
CIE-LCHlch(46.93, 26.08, 199.34°)
OKLaboklab(53.33% -0.0774 -0.024)
OKLCHoklch(53.33% 0.081 197.2)
XYZxyz(11.4102, 15.9686, 21.8789)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B7D #7D2321
analogous
#217D51 #217B7D #214D7D
triadic
#217B7D #7D217B #7B7D21
tetradic
#217B7D #51217D #7D2321 #4D7D21
square
#217B7D #51217D #7D2321 #4D7D21
split-complementary
#217B7D #7D214D #7D5121
monochromatic
#071C1C #144B4D #217B7D #2EABAD #49CCCF

Accessibility & contrast

On white

5.01
#217B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#217B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B7D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B7D#FFFFFF#000000##FFFFFF
##217B7D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757D
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217b7d;
/* rgb */ color: rgb(33, 123, 125);
/* oklch */ color: oklch(53.3% 0.081 197.2);
Tailwind
colors: {
  custom: {
    50: '#6ca1a2',
    500: '#217b7d',
    950: '#000000',
  },
}
SCSS
$custom: #217b7d;
$custom-light: #6ca1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#217b7d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 125
  },
  "hsl": {
    "h": 181.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.08108,
    "h": 197.2
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#217B7D
secondary
#B04C4A
accent
#4A46E1
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0F
muted
#7B7E7E

Preview Lab

Preview with #217B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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