#217B87#217B87

#217B87 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.7% C 0.083 H 208.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#217B87
RGBrgb(33, 123, 135)
HSLhsl(187, 61%, 33%)
HSVhsv(187, 76%, 53%)
CMYKcmyk(75.6%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.28, -21.38, -14.03)
CIE-LCHlch(47.28, 25.57, 213.28°)
OKLaboklab(53.73% -0.0729 -0.039)
OKLCHoklch(53.73% 0.083 208.2)
XYZxyz(12.0814, 16.2371, 25.4143)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B87 #872D21
analogous
#218760 #217B87 #214887
triadic
#217B87 #87217B #7B8721
tetradic
#217B87 #602187 #872D21 #488721
square
#217B87 #602187 #872D21 #488721
split-complementary
#217B87 #872148 #876021
monochromatic
#092125 #154E56 #217B87 #2DA8B8 #4FC4D4

Accessibility & contrast

On white

4.94
#217B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#217B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B87
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B87#FFFFFF#000000##FFFFFF
##217B871.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#616C87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217b87;
/* rgb */ color: rgb(33, 123, 135);
/* oklch */ color: oklch(53.7% 0.083 208.2);
Tailwind
colors: {
  custom: {
    50: '#6da1aa',
    500: '#217b87',
    950: '#000000',
  },
}
SCSS
$custom: #217b87;
$custom-light: #6da1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#217b87",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 187.059,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.08268,
    "h": 208.2
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#217B87
secondary
#B7594D
accent
#5744E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #217B87

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

Preview Lab → · Contrast checker → · Palette generator →

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