#217C8E#217C8E

#217C8E is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.3% C 0.086 H 214.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#217C8E
RGBrgb(33, 124, 142)
HSLhsl(190, 62%, 34%)
HSVhsv(190, 77%, 56%)
CMYKcmyk(76.8%, 12.7%, 0%, 44.3%)
CIE-LABlab(47.87, -19.57, -17.27)
CIE-LCHlch(47.87, 26.10, 221.44°)
OKLaboklab(54.28% -0.0709 -0.0482)
OKLCHoklch(54.28% 0.086 214.2)
XYZxyz(12.7152, 16.6901, 28.1373)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C8E #8E3321
analogous
#218E6A #217C8E #21468E
triadic
#217C8E #8E217C #7C8E21
tetradic
#217C8E #6A218E #8E3321 #468E21
square
#217C8E #6A218E #8E3321 #468E21
split-complementary
#217C8E #8E2146 #8E6A21
monochromatic
#0A252B #15515C #217C8E #2DA7C0 #52C1D7

Accessibility & contrast

On white

4.84
#217C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#217C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C8E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C8E#FFFFFF#000000##FFFFFF
##217C8E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788F
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217c8e;
/* rgb */ color: rgb(33, 124, 142);
/* oklch */ color: oklch(54.3% 0.086 214.2);
Tailwind
colors: {
  custom: {
    50: '#6ea2af',
    500: '#217c8e',
    950: '#000000',
  },
}
SCSS
$custom: #217c8e;
$custom-light: #6ea2af;
$custom-dark: #000000;
JSON
{
  "hex": "#217c8e",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 189.908,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.08571,
    "h": 214.2
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#217C8E
secondary
#BA6250
accent
#5D42E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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