#217E8D#217E8D

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

Color values

HEX#217E8D
RGBrgb(33, 126, 141)
HSLhsl(188, 62%, 34%)
HSVhsv(188, 77%, 55%)
CMYKcmyk(76.6%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.47, -20.97, -15.77)
CIE-LCHlch(48.47, 26.24, 216.94°)
OKLaboklab(54.76% -0.0734 -0.0439)
OKLCHoklch(54.76% 0.086 210.9)
XYZxyz(12.8937, 17.1666, 27.8281)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E8D #8D3021
analogous
#218D66 #217E8D #21488D
triadic
#217E8D #8D217E #7E8D21
tetradic
#217E8D #66218D #8D3021 #488D21
square
#217E8D #66218D #8D3021 #488D21
split-complementary
#217E8D #8D2148 #8D6621
monochromatic
#0A252A #15525B #217E8D #2DAABF #52C4D6

Accessibility & contrast

On white

4.74
#217E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#217E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E8D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E8D#FFFFFF#000000##FFFFFF
##217E8D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798E
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217e8d;
/* rgb */ color: rgb(33, 126, 141);
/* oklch */ color: oklch(54.8% 0.086 210.9);
Tailwind
colors: {
  custom: {
    50: '#6fa3ae',
    500: '#217e8d',
    950: '#000000',
  },
}
SCSS
$custom: #217e8d;
$custom-light: #6fa3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#217e8d",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 188.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.08552,
    "h": 210.9
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#217E8D
secondary
#BA5F50
accent
#5943E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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