#217B8B#217B8B

#217B8B is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.9% C 0.084 H 212.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#217B8B
RGBrgb(33, 123, 139)
HSLhsl(189, 62%, 34%)
HSVhsv(189, 76%, 55%)
CMYKcmyk(76.3%, 11.5%, 0%, 45.5%)
CIE-LABlab(47.43, -20.04, -16.17)
CIE-LCHlch(47.43, 25.75, 218.89°)
OKLaboklab(53.9% -0.0711 -0.045)
OKLCHoklch(53.9% 0.084 212.3)
XYZxyz(12.3684, 16.3518, 26.9255)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B8B #8B3121
analogous
#218B66 #217B8B #21468B
triadic
#217B8B #8B217B #7B8B21
tetradic
#217B8B #66218B #8B3121 #468B21
square
#217B8B #66218B #8B3121 #468B21
split-complementary
#217B8B #8B2146 #8B6621
monochromatic
#0A2328 #154F5A #217B8B #2DA7BC #51C2D6

Accessibility & contrast

On white

4.92
#217B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#217B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B8B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B8B#FFFFFF#000000##FFFFFF
##217B8B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778C
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217b8b;
/* rgb */ color: rgb(33, 123, 139);
/* oklch */ color: oklch(53.9% 0.084 212.3);
Tailwind
colors: {
  custom: {
    50: '#6ea1ac',
    500: '#217b8b',
    950: '#000000',
  },
}
SCSS
$custom: #217b8b;
$custom-light: #6ea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217b8b",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 139
  },
  "hsl": {
    "h": 189.057,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.08419,
    "h": 212.3
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#217B8B
secondary
#B95F4F
accent
#5B43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #217B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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