#217F8B#217F8B

#217F8B is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.9% C 0.085 H 207.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#217F8B
RGBrgb(33, 127, 139)
HSLhsl(187, 62%, 34%)
HSVhsv(187, 76%, 55%)
CMYKcmyk(76.3%, 8.6%, 0%, 45.5%)
CIE-LABlab(48.72, -22.16, -14.22)
CIE-LCHlch(48.72, 26.33, 212.68°)
OKLaboklab(54.93% -0.0753 -0.0395)
OKLCHoklch(54.93% 0.085 207.7)
XYZxyz(12.8747, 17.3646, 27.0942)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F8B #8B2D21
analogous
#218B62 #217F8B #214A8B
triadic
#217F8B #8B217F #7F8B21
tetradic
#217F8B #62218B #8B2D21 #4A8B21
square
#217F8B #62218B #8B2D21 #4A8B21
split-complementary
#217F8B #8B214A #8B6221
monochromatic
#0A2528 #15525A #217F8B #2DACBC #51C7D6

Accessibility & contrast

On white

4.69
#217F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#217F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F8B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F8B#FFFFFF#000000##FFFFFF
##217F8B1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8C
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217f8b;
/* rgb */ color: rgb(33, 127, 139);
/* oklch */ color: oklch(54.9% 0.085 207.7);
Tailwind
colors: {
  custom: {
    50: '#6ea4ac',
    500: '#217f8b',
    950: '#000000',
  },
}
SCSS
$custom: #217f8b;
$custom-light: #6ea4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217f8b",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 186.792,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.08506,
    "h": 207.7
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#217F8B
secondary
#B95B4F
accent
#5543E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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