#217F8A#217F8A

#217F8A is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.085 H 206.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#217F8A
RGBrgb(33, 127, 138)
HSLhsl(186, 61%, 34%)
HSVhsv(186, 76%, 54%)
CMYKcmyk(76.1%, 8%, 0%, 45.9%)
CIE-LABlab(48.68, -22.49, -13.68)
CIE-LCHlch(48.68, 26.33, 211.31°)
OKLaboklab(54.89% -0.0758 -0.038)
OKLCHoklch(54.89% 0.085 206.7)
XYZxyz(12.8020, 17.3355, 26.7112)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F8A #8A2C21
analogous
#218A60 #217F8A #214A8A
triadic
#217F8A #8A217F #7F8A21
tetradic
#217F8A #60218A #8A2C21 #4A8A21
square
#217F8A #60218A #8A2C21 #4A8A21
split-complementary
#217F8A #8A214A #8A6021
monochromatic
#092427 #155259 #217F8A #2DACBB #50C7D5

Accessibility & contrast

On white

4.70
#217F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#217F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F8A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F8A#FFFFFF#000000##FFFFFF
##217F8A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217f8a;
/* rgb */ color: rgb(33, 127, 138);
/* oklch */ color: oklch(54.9% 0.085 206.7);
Tailwind
colors: {
  custom: {
    50: '#6ea4ac',
    500: '#217f8a',
    950: '#000000',
  },
}
SCSS
$custom: #217f8a;
$custom-light: #6ea4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#217f8a",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 186.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.08478,
    "h": 206.7
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#217F8A
secondary
#B9594E
accent
#5443E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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