#217D8B#217D8B

#217D8B is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.085 H 210.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#217D8B
RGBrgb(33, 125, 139)
HSLhsl(188, 62%, 34%)
HSVhsv(188, 76%, 55%)
CMYKcmyk(76.3%, 10.1%, 0%, 45.5%)
CIE-LABlab(48.07, -21.11, -15.19)
CIE-LCHlch(48.07, 26.01, 215.74°)
OKLaboklab(54.41% -0.0732 -0.0423)
OKLCHoklch(54.41% 0.085 210)
XYZxyz(12.6190, 16.8531, 27.0090)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D8B #8B2F21
analogous
#218B64 #217D8B #21488B
triadic
#217D8B #8B217D #7D8B21
tetradic
#217D8B #64218B #8B2F21 #488B21
square
#217D8B #64218B #8B2F21 #488B21
split-complementary
#217D8B #8B2148 #8B6421
monochromatic
#0A2428 #15515A #217D8B #2DA9BC #51C4D6

Accessibility & contrast

On white

4.80
#217D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#217D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D8B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D8B#FFFFFF#000000##FFFFFF
##217D8B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788C
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217d8b;
/* rgb */ color: rgb(33, 125, 139);
/* oklch */ color: oklch(54.4% 0.085 210.0);
Tailwind
colors: {
  custom: {
    50: '#6ea3ac',
    500: '#217d8b',
    950: '#000000',
  },
}
SCSS
$custom: #217d8b;
$custom-light: #6ea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217d8b",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 139
  },
  "hsl": {
    "h": 187.925,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.08455,
    "h": 210
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#217D8B
secondary
#B95D4F
accent
#5843E5
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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