#217F87#217F87

#217F87 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.084 H 203.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#217F87
RGBrgb(33, 127, 135)
HSLhsl(185, 61%, 33%)
HSVhsv(185, 76%, 53%)
CMYKcmyk(75.6%, 5.9%, 0%, 47.1%)
CIE-LABlab(48.57, -23.47, -12.08)
CIE-LCHlch(48.57, 26.40, 207.23°)
OKLaboklab(54.77% -0.0771 -0.0336)
OKLCHoklch(54.77% 0.084 203.5)
XYZxyz(12.5878, 17.2498, 25.5831)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F87 #872921
analogous
#21875C #217F87 #214C87
triadic
#217F87 #87217F #7F8721
tetradic
#217F87 #5C2187 #872921 #4C8721
square
#217F87 #5C2187 #872921 #4C8721
split-complementary
#217F87 #87214C #875C21
monochromatic
#092225 #155156 #217F87 #2DADB8 #4FC9D4

Accessibility & contrast

On white

4.72
#217F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#217F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F87
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F87#FFFFFF#000000##FFFFFF
##217F871.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747988
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217f87;
/* rgb */ color: rgb(33, 127, 135);
/* oklch */ color: oklch(54.8% 0.084 203.5);
Tailwind
colors: {
  custom: {
    50: '#6ea4aa',
    500: '#217f87',
    950: '#000000',
  },
}
SCSS
$custom: #217f87;
$custom-light: #6ea4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#217f87",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 184.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.08409,
    "h": 203.5
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#217F87
secondary
#B7554D
accent
#5044E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #217F87

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

Preview Lab → · Contrast checker → · Palette generator →

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