#217E87#217E87

#217E87 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.084 H 204.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#217E87
RGBrgb(33, 126, 135)
HSLhsl(185, 61%, 33%)
HSVhsv(185, 76%, 53%)
CMYKcmyk(75.6%, 6.7%, 0%, 47.1%)
CIE-LABlab(48.25, -22.95, -12.57)
CIE-LCHlch(48.25, 26.17, 208.70°)
OKLaboklab(54.51% -0.0761 -0.0349)
OKLCHoklch(54.51% 0.084 204.7)
XYZxyz(12.4593, 16.9928, 25.5403)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E87 #872A21
analogous
#21875D #217E87 #214B87
triadic
#217E87 #87217E #7E8721
tetradic
#217E87 #5D2187 #872A21 #4B8721
square
#217E87 #5D2187 #872A21 #4B8721
split-complementary
#217E87 #87214B #875D21
monochromatic
#092225 #155056 #217E87 #2DACB8 #4FC8D4

Accessibility & contrast

On white

4.77
#217E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#217E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E87
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E87#FFFFFF#000000##FFFFFF
##217E871.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737988
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217e87;
/* rgb */ color: rgb(33, 126, 135);
/* oklch */ color: oklch(54.5% 0.084 204.7);
Tailwind
colors: {
  custom: {
    50: '#6ea3aa',
    500: '#217e87',
    950: '#000000',
  },
}
SCSS
$custom: #217e87;
$custom-light: #6ea3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#217e87",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 185.294,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.08368,
    "h": 204.7
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#217E87
secondary
#B7564D
accent
#5244E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217E87

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

Preview Lab → · Contrast checker → · Palette generator →

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