#217D8E#217D8E

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

Color values

HEX#217D8E
RGBrgb(33, 125, 142)
HSLhsl(189, 62%, 34%)
HSVhsv(189, 77%, 56%)
CMYKcmyk(76.8%, 12%, 0%, 44.3%)
CIE-LABlab(48.19, -20.11, -16.79)
CIE-LCHlch(48.19, 26.19, 219.86°)
OKLaboklab(54.54% -0.0719 -0.0468)
OKLCHoklch(54.54% 0.086 213)
XYZxyz(12.8412, 16.9420, 28.1793)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D8E #8E3221
analogous
#218E69 #217D8E #21478E
triadic
#217D8E #8E217D #7D8E21
tetradic
#217D8E #69218E #8E3221 #478E21
square
#217D8E #69218E #8E3221 #478E21
split-complementary
#217D8E #8E2147 #8E6921
monochromatic
#0A262B #15515C #217D8E #2DA9C0 #52C2D7

Accessibility & contrast

On white

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

On black

4.39
#217D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217D8E#FFFFFF#000000##FFFFFF
##217D8E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70798F
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217d8e;
/* rgb */ color: rgb(33, 125, 142);
/* oklch */ color: oklch(54.5% 0.086 213.0);
Tailwind
colors: {
  custom: {
    50: '#6fa3af',
    500: '#217d8e',
    950: '#000000',
  },
}
SCSS
$custom: #217d8e;
$custom-light: #6fa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#217d8e",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 142
  },
  "hsl": {
    "h": 189.358,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.0858,
    "h": 213
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#217D8E
secondary
#BA6150
accent
#5C42E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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