#217A8B#217A8B

#217A8B is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.6% C 0.084 H 213.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#217A8B
RGBrgb(33, 122, 139)
HSLhsl(190, 62%, 34%)
HSVhsv(190, 76%, 55%)
CMYKcmyk(76.3%, 12.2%, 0%, 45.5%)
CIE-LABlab(47.11, -19.51, -16.66)
CIE-LCHlch(47.11, 25.65, 220.49°)
OKLaboklab(53.64% -0.0701 -0.0464)
OKLCHoklch(53.64% 0.084 213.5)
XYZxyz(12.2449, 16.1050, 26.8843)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A8B #8B3221
analogous
#218B67 #217A8B #21458B
triadic
#217A8B #8B217A #7A8B21
tetradic
#217A8B #67218B #8B3221 #458B21
square
#217A8B #67218B #8B3221 #458B21
split-complementary
#217A8B #8B2145 #8B6721
monochromatic
#0A2328 #154F5A #217A8B #2DA5BC #51C0D6

Accessibility & contrast

On white

4.97
#217A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#217A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A8B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A8B#FFFFFF#000000##FFFFFF
##217A8B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217a8b;
/* rgb */ color: rgb(33, 122, 139);
/* oklch */ color: oklch(53.6% 0.084 213.5);
Tailwind
colors: {
  custom: {
    50: '#6ea0ad',
    500: '#217a8b',
    950: '#000000',
  },
}
SCSS
$custom: #217a8b;
$custom-light: #6ea0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#217a8b",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 139
  },
  "hsl": {
    "h": 189.623,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.08407,
    "h": 213.5
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#217A8B
secondary
#B9604F
accent
#5D43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #217A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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