#217F8E#217F8E

#217F8E is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.1% C 0.086 H 210.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#217F8E
RGBrgb(33, 127, 142)
HSLhsl(188, 62%, 34%)
HSVhsv(188, 77%, 56%)
CMYKcmyk(76.8%, 10.6%, 0%, 44.3%)
CIE-LABlab(48.83, -21.17, -15.81)
CIE-LCHlch(48.83, 26.42, 216.76°)
OKLaboklab(55.06% -0.074 -0.044)
OKLCHoklch(55.06% 0.086 210.8)
XYZxyz(13.0969, 17.4535, 28.2645)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F8E #8E3021
analogous
#218E67 #217F8E #21498E
triadic
#217F8E #8E217F #7F8E21
tetradic
#217F8E #67218E #8E3021 #498E21
square
#217F8E #67218E #8E3021 #498E21
split-complementary
#217F8E #8E2149 #8E6721
monochromatic
#0A262B #15535C #217F8E #2DABC0 #52C5D7

Accessibility & contrast

On white

4.68
#217F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#217F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F8E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F8E#FFFFFF#000000##FFFFFF
##217F8E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8F
Deuteranopia (green-blind)
#646F8E
Tritanopia (blue-blind)
#008584
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217f8e;
/* rgb */ color: rgb(33, 127, 142);
/* oklch */ color: oklch(55.1% 0.086 210.8);
Tailwind
colors: {
  custom: {
    50: '#6fa4af',
    500: '#217f8e',
    950: '#000000',
  },
}
SCSS
$custom: #217f8e;
$custom-light: #6fa4af;
$custom-dark: #000000;
JSON
{
  "hex": "#217f8e",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 142
  },
  "hsl": {
    "h": 188.257,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.08611,
    "h": 210.8
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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