#217E8F#217E8F

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

Color values

HEX#217E8F
RGBrgb(33, 126, 143)
HSLhsl(189, 63%, 35%)
HSVhsv(189, 77%, 56%)
CMYKcmyk(76.9%, 11.9%, 0%, 43.9%)
CIE-LABlab(48.54, -20.30, -16.83)
CIE-LCHlch(48.54, 26.37, 219.66°)
OKLaboklab(54.84% -0.0725 -0.0469)
OKLCHoklch(54.84% 0.086 212.9)
XYZxyz(13.0438, 17.2266, 28.6189)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E8F #8F3221
analogous
#218F69 #217E8F #21478F
triadic
#217E8F #8F217E #7E8F21
tetradic
#217E8F #69218F #8F3221 #478F21
square
#217E8F #69218F #8F3221 #478F21
split-complementary
#217E8F #8F2147 #8F6921
monochromatic
#0A262C #16525D #217E8F #2CAAC1 #53C3D7

Accessibility & contrast

On white

4.72
#217E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#217E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E8F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E8F#FFFFFF#000000##FFFFFF
##217E8F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717A90
Deuteranopia (green-blind)
#626F8F
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217e8f;
/* rgb */ color: rgb(33, 126, 143);
/* oklch */ color: oklch(54.8% 0.086 212.9);
Tailwind
colors: {
  custom: {
    50: '#6fa3af',
    500: '#217e8f',
    950: '#000000',
  },
}
SCSS
$custom: #217e8f;
$custom-light: #6fa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#217e8f",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 143
  },
  "hsl": {
    "h": 189.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.08638,
    "h": 212.9
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#217E8F
secondary
#BB6151
accent
#5B42E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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