#217E8E#217E8E

#217E8E is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.086 H 211.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#217E8E
RGBrgb(33, 126, 142)
HSLhsl(189, 62%, 34%)
HSVhsv(189, 77%, 56%)
CMYKcmyk(76.8%, 11.3%, 0%, 44.3%)
CIE-LABlab(48.51, -20.64, -16.30)
CIE-LCHlch(48.51, 26.30, 218.30°)
OKLaboklab(54.8% -0.073 -0.0454)
OKLCHoklch(54.8% 0.086 211.9)
XYZxyz(12.9684, 17.1965, 28.2217)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E8E #8E3121
analogous
#218E68 #217E8E #21488E
triadic
#217E8E #8E217E #7E8E21
tetradic
#217E8E #68218E #8E3121 #488E21
square
#217E8E #68218E #8E3121 #488E21
split-complementary
#217E8E #8E2148 #8E6821
monochromatic
#0A262B #15525C #217E8E #2DAAC0 #52C3D7

Accessibility & contrast

On white

4.73
#217E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#217E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E8E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E8E#FFFFFF#000000##FFFFFF
##217E8E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#636E8E
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217e8e;
/* rgb */ color: rgb(33, 126, 142);
/* oklch */ color: oklch(54.8% 0.086 211.9);
Tailwind
colors: {
  custom: {
    50: '#6fa3af',
    500: '#217e8e',
    950: '#000000',
  },
}
SCSS
$custom: #217e8e;
$custom-light: #6fa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#217e8e",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 142
  },
  "hsl": {
    "h": 188.807,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.08594,
    "h": 211.9
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#217E8E
secondary
#BA6050
accent
#5A42E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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