#217F8F#217F8F

#217F8F is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.1% C 0.087 H 211.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#217F8F
RGBrgb(33, 127, 143)
HSLhsl(189, 63%, 35%)
HSVhsv(189, 77%, 56%)
CMYKcmyk(76.9%, 11.2%, 0%, 43.9%)
CIE-LABlab(48.86, -20.84, -16.34)
CIE-LCHlch(48.86, 26.48, 218.11°)
OKLaboklab(55.1% -0.0736 -0.0455)
OKLCHoklch(55.1% 0.087 211.8)
XYZxyz(13.1724, 17.4837, 28.6617)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F8F #8F3121
analogous
#218F68 #217F8F #21488F
triadic
#217F8F #8F217F #7F8F21
tetradic
#217F8F #68218F #8F3121 #488F21
square
#217F8F #68218F #8F3121 #488F21
split-complementary
#217F8F #8F2148 #8F6821
monochromatic
#0A272C #16535D #217F8F #2CABC1 #53C4D7

Accessibility & contrast

On white

4.67
#217F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#217F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217F8F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F8F#FFFFFF#000000##FFFFFF
##217F8F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A90
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#008684
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217f8f;
/* rgb */ color: rgb(33, 127, 143);
/* oklch */ color: oklch(55.1% 0.087 211.8);
Tailwind
colors: {
  custom: {
    50: '#6fa4af',
    500: '#217f8f',
    950: '#000000',
  },
}
SCSS
$custom: #217f8f;
$custom-light: #6fa4af;
$custom-dark: #000000;
JSON
{
  "hex": "#217f8f",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 143
  },
  "hsl": {
    "h": 188.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.08651,
    "h": 211.8
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#217F8F
secondary
#BB6051
accent
#5A42E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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