#217A8A#217A8A

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

Color values

HEX#217A8A
RGBrgb(33, 122, 138)
HSLhsl(189, 61%, 34%)
HSVhsv(189, 76%, 54%)
CMYKcmyk(76.1%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.07, -19.84, -16.12)
CIE-LCHlch(47.07, 25.57, 219.10°)
OKLaboklab(53.59% -0.0705 -0.0449)
OKLCHoklch(53.59% 0.084 212.5)
XYZxyz(12.1722, 16.0759, 26.5013)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A8A #8A3121
analogous
#218A65 #217A8A #21458A
triadic
#217A8A #8A217A #7A8A21
tetradic
#217A8A #65218A #8A3121 #458A21
square
#217A8A #65218A #8A3121 #458A21
split-complementary
#217A8A #8A2145 #8A6521
monochromatic
#092327 #154E59 #217A8A #2DA6BB #50C1D5

Accessibility & contrast

On white

4.98
#217A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A8A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A8A#FFFFFF#000000##FFFFFF
##217A8A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217a8a;
/* rgb */ color: rgb(33, 122, 138);
/* oklch */ color: oklch(53.6% 0.084 212.5);
Tailwind
colors: {
  custom: {
    50: '#6ea0ac',
    500: '#217a8a',
    950: '#000000',
  },
}
SCSS
$custom: #217a8a;
$custom-light: #6ea0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217a8a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 189.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.08361,
    "h": 212.5
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#217A8A
secondary
#B95E4E
accent
#5C43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #217A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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