#217E8B#217E8B

#217E8B is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.7% C 0.085 H 208.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#217E8B
RGBrgb(33, 126, 139)
HSLhsl(187, 62%, 34%)
HSVhsv(187, 76%, 55%)
CMYKcmyk(76.3%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.40, -21.64, -14.70)
CIE-LCHlch(48.40, 26.16, 214.20°)
OKLaboklab(54.67% -0.0743 -0.0409)
OKLCHoklch(54.67% 0.085 208.8)
XYZxyz(12.7462, 17.1076, 27.0514)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E8B #8B2E21
analogous
#218B63 #217E8B #21498B
triadic
#217E8B #8B217E #7E8B21
tetradic
#217E8B #63218B #8B2E21 #498B21
square
#217E8B #63218B #8B2E21 #498B21
split-complementary
#217E8B #8B2149 #8B6321
monochromatic
#0A2428 #15515A #217E8B #2DABBC #51C5D6

Accessibility & contrast

On white

4.75
#217E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#217E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E8B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E8B#FFFFFF#000000##FFFFFF
##217E8B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798C
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217e8b;
/* rgb */ color: rgb(33, 126, 139);
/* oklch */ color: oklch(54.7% 0.085 208.8);
Tailwind
colors: {
  custom: {
    50: '#6ea3ac',
    500: '#217e8b',
    950: '#000000',
  },
}
SCSS
$custom: #217e8b;
$custom-light: #6ea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217e8b",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 187.358,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.08479,
    "h": 208.8
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#217E8B
secondary
#B95C4F
accent
#5743E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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