#217C8A#217C8A

#217C8A is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.1% C 0.084 H 210.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#217C8A
RGBrgb(33, 124, 138)
HSLhsl(188, 61%, 34%)
HSVhsv(188, 76%, 54%)
CMYKcmyk(76.1%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.72, -20.91, -15.15)
CIE-LCHlch(47.72, 25.82, 215.92°)
OKLaboklab(54.11% -0.0726 -0.0422)
OKLCHoklch(54.11% 0.084 210.1)
XYZxyz(12.4203, 16.5721, 26.5840)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C8A #8A2F21
analogous
#218A63 #217C8A #21478A
triadic
#217C8A #8A217C #7C8A21
tetradic
#217C8A #63218A #8A2F21 #478A21
square
#217C8A #63218A #8A2F21 #478A21
split-complementary
#217C8A #8A2147 #8A6321
monochromatic
#092327 #155059 #217C8A #2DA8BB #50C3D5

Accessibility & contrast

On white

4.87
#217C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#217C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C8A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C8A#FFFFFF#000000##FFFFFF
##217C8A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217c8a;
/* rgb */ color: rgb(33, 124, 138);
/* oklch */ color: oklch(54.1% 0.084 210.1);
Tailwind
colors: {
  custom: {
    50: '#6ea2ac',
    500: '#217c8a',
    950: '#000000',
  },
}
SCSS
$custom: #217c8a;
$custom-light: #6ea2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217c8a",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 188,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.08396,
    "h": 210.1
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#217C8A
secondary
#B95C4E
accent
#5943E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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