#217B8A#217B8A

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

Color values

HEX#217B8A
RGBrgb(33, 123, 138)
HSLhsl(189, 61%, 34%)
HSVhsv(189, 76%, 54%)
CMYKcmyk(76.1%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.40, -20.38, -15.63)
CIE-LCHlch(47.40, 25.69, 217.49°)
OKLaboklab(53.85% -0.0716 -0.0435)
OKLCHoklch(53.85% 0.084 211.3)
XYZxyz(12.2956, 16.3228, 26.5424)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B8A #8A3021
analogous
#218A64 #217B8A #21468A
triadic
#217B8A #8A217B #7B8A21
tetradic
#217B8A #64218A #8A3021 #468A21
square
#217B8A #64218A #8A3021 #468A21
split-complementary
#217B8A #8A2146 #8A6421
monochromatic
#092327 #154F59 #217B8A #2DA7BB #50C2D5

Accessibility & contrast

On white

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

On black

4.26
#217B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217B8A#FFFFFF#000000##FFFFFF
##217B8A1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b8a;
/* rgb */ color: rgb(33, 123, 138);
/* oklch */ color: oklch(53.9% 0.084 211.3);
Tailwind
colors: {
  custom: {
    50: '#6ea1ac',
    500: '#217b8a',
    950: '#000000',
  },
}
SCSS
$custom: #217b8a;
$custom-light: #6ea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217b8a",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 188.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.08377,
    "h": 211.3
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#217B8A
secondary
#B95D4E
accent
#5A43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #217B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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