#217C8D#217C8D

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

Color values

HEX#217C8D
RGBrgb(33, 124, 141)
HSLhsl(189, 62%, 34%)
HSVhsv(189, 77%, 55%)
CMYKcmyk(76.6%, 12.1%, 0%, 44.7%)
CIE-LABlab(47.83, -19.91, -16.74)
CIE-LCHlch(47.83, 26.01, 220.07°)
OKLaboklab(54.24% -0.0713 -0.0467)
OKLCHoklch(54.24% 0.085 213.2)
XYZxyz(12.6405, 16.6602, 27.7437)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C8D #8D3221
analogous
#218D68 #217C8D #21468D
triadic
#217C8D #8D217C #7C8D21
tetradic
#217C8D #68218D #8D3221 #468D21
square
#217C8D #68218D #8D3221 #468D21
split-complementary
#217C8D #8D2146 #8D6821
monochromatic
#0A252A #15505B #217C8D #2DA8BF #52C2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217C8D#FFFFFF#000000##FFFFFF
##217C8D1.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)
#6F788E
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217c8d;
/* rgb */ color: rgb(33, 124, 141);
/* oklch */ color: oklch(54.2% 0.085 213.2);
Tailwind
colors: {
  custom: {
    50: '#6ea2ae',
    500: '#217c8d',
    950: '#000000',
  },
}
SCSS
$custom: #217c8d;
$custom-light: #6ea2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#217c8d",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 189.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.08522,
    "h": 213.2
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#217C8D
secondary
#BA6150
accent
#5C43E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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