#217E8A#217E8A

#217E8A is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.084 H 207.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#217E8A
RGBrgb(33, 126, 138)
HSLhsl(187, 61%, 34%)
HSVhsv(187, 76%, 54%)
CMYKcmyk(76.1%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.36, -21.97, -14.17)
CIE-LCHlch(48.36, 26.14, 212.82°)
OKLaboklab(54.63% -0.0747 -0.0394)
OKLCHoklch(54.63% 0.084 207.8)
XYZxyz(12.6735, 17.0785, 26.6684)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E8A #8A2D21
analogous
#218A61 #217E8A #21498A
triadic
#217E8A #8A217E #7E8A21
tetradic
#217E8A #61218A #8A2D21 #498A21
square
#217E8A #61218A #8A2D21 #498A21
split-complementary
#217E8A #8A2149 #8A6121
monochromatic
#092427 #155159 #217E8A #2DABBB #50C6D5

Accessibility & contrast

On white

4.76
#217E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217E8A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E8A#FFFFFF#000000##FFFFFF
##217E8A1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217e8a;
/* rgb */ color: rgb(33, 126, 138);
/* oklch */ color: oklch(54.6% 0.084 207.8);
Tailwind
colors: {
  custom: {
    50: '#6ea3ac',
    500: '#217e8a',
    950: '#000000',
  },
}
SCSS
$custom: #217e8a;
$custom-light: #6ea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217e8a",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 186.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.08447,
    "h": 207.8
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#217E8A
secondary
#B95A4E
accent
#5643E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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