#217C8B#217C8B

#217C8B is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.2% C 0.084 H 211.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#217C8B
RGBrgb(33, 124, 139)
HSLhsl(188, 62%, 34%)
HSVhsv(188, 76%, 55%)
CMYKcmyk(76.3%, 10.8%, 0%, 45.5%)
CIE-LABlab(47.75, -20.58, -15.68)
CIE-LCHlch(47.75, 25.87, 217.31°)
OKLaboklab(54.15% -0.0722 -0.0437)
OKLCHoklch(54.15% 0.084 211.2)
XYZxyz(12.4930, 16.6012, 26.9670)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C8B #8B3021
analogous
#218B65 #217C8B #21478B
triadic
#217C8B #8B217C #7C8B21
tetradic
#217C8B #65218B #8B3021 #478B21
square
#217C8B #65218B #8B3021 #478B21
split-complementary
#217C8B #8B2147 #8B6521
monochromatic
#0A2428 #15505A #217C8B #2DA8BC #51C3D6

Accessibility & contrast

On white

4.86
#217C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#217C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C8B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C8B#FFFFFF#000000##FFFFFF
##217C8B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778C
Deuteranopia (green-blind)
#616D8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217c8b;
/* rgb */ color: rgb(33, 124, 139);
/* oklch */ color: oklch(54.2% 0.084 211.2);
Tailwind
colors: {
  custom: {
    50: '#6ea2ac',
    500: '#217c8b',
    950: '#000000',
  },
}
SCSS
$custom: #217c8b;
$custom-light: #6ea2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217c8b",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 188.491,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.08436,
    "h": 211.2
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#217C8B
secondary
#B95E4F
accent
#5A43E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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