#217D8D#217D8D

#217D8D is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.5% C 0.085 H 212.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#217D8D
RGBrgb(33, 125, 141)
HSLhsl(189, 62%, 34%)
HSVhsv(189, 77%, 55%)
CMYKcmyk(76.6%, 11.3%, 0%, 44.7%)
CIE-LABlab(48.15, -20.44, -16.26)
CIE-LCHlch(48.15, 26.12, 218.49°)
OKLaboklab(54.5% -0.0723 -0.0453)
OKLCHoklch(54.5% 0.085 212)
XYZxyz(12.7665, 16.9121, 27.7857)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D8D #8D3121
analogous
#218D67 #217D8D #21478D
triadic
#217D8D #8D217D #7D8D21
tetradic
#217D8D #67218D #8D3121 #478D21
square
#217D8D #67218D #8D3121 #478D21
split-complementary
#217D8D #8D2147 #8D6721
monochromatic
#0A252A #15515B #217D8D #2DA9BF #52C3D6

Accessibility & contrast

On white

4.79
#217D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#217D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D8D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D8D#FFFFFF#000000##FFFFFF
##217D8D1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788E
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217d8d;
/* rgb */ color: rgb(33, 125, 141);
/* oklch */ color: oklch(54.5% 0.085 212.0);
Tailwind
colors: {
  custom: {
    50: '#6ea3ae',
    500: '#217d8d',
    950: '#000000',
  },
}
SCSS
$custom: #217d8d;
$custom-light: #6ea3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#217d8d",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 141
  },
  "hsl": {
    "h": 188.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.08536,
    "h": 212
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#217D8D
secondary
#BA6050
accent
#5B43E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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