#217C8C#217C8C

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

Color values

HEX#217C8C
RGBrgb(33, 124, 140)
HSLhsl(189, 62%, 34%)
HSVhsv(189, 76%, 55%)
CMYKcmyk(76.4%, 11.4%, 0%, 45.1%)
CIE-LABlab(47.79, -20.24, -16.21)
CIE-LCHlch(47.79, 25.93, 218.69°)
OKLaboklab(54.2% -0.0717 -0.0452)
OKLCHoklch(54.2% 0.085 212.2)
XYZxyz(12.5664, 16.6306, 27.3536)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C8C #8C3121
analogous
#218C67 #217C8C #21478C
triadic
#217C8C #8C217C #7C8C21
tetradic
#217C8C #67218C #8C3121 #478C21
square
#217C8C #67218C #8C3121 #478C21
split-complementary
#217C8C #8C2147 #8C6721
monochromatic
#0A2429 #15505A #217C8C #2DA8BE #51C2D6

Accessibility & contrast

On white

4.85
#217C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#217C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C8C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C8C#FFFFFF#000000##FFFFFF
##217C8C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788D
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217c8c;
/* rgb */ color: rgb(33, 124, 140);
/* oklch */ color: oklch(54.2% 0.085 212.2);
Tailwind
colors: {
  custom: {
    50: '#6ea2ad',
    500: '#217c8c',
    950: '#000000',
  },
}
SCSS
$custom: #217c8c;
$custom-light: #6ea2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#217c8c",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 188.972,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.08477,
    "h": 212.2
  },
  "luminance": 0.16632
}

Semantic roles & 50–950 ramp

primary
#217C8C
secondary
#B95F4F
accent
#5B43E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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