#217787#217787

#217787 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.082 H 213.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#217787
RGBrgb(33, 119, 135)
HSLhsl(189, 61%, 33%)
HSVhsv(189, 76%, 53%)
CMYKcmyk(75.6%, 11.9%, 0%, 47.1%)
CIE-LABlab(45.99, -19.24, -15.99)
CIE-LCHlch(45.99, 25.02, 219.73°)
OKLaboklab(52.69% -0.0687 -0.0445)
OKLCHoklch(52.69% 0.082 213)
XYZxyz(11.5953, 15.2649, 25.2523)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217787 #873121
analogous
#218764 #217787 #214487
triadic
#217787 #872177 #778721
tetradic
#217787 #642187 #873121 #448721
square
#217787 #642187 #873121 #448721
split-complementary
#217787 #872144 #876421
monochromatic
#092025 #154C56 #217787 #2DA2B8 #4FBFD4

Accessibility & contrast

On white

5.18
#217787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217787
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217787#FFFFFF#000000##FFFFFF
##2177871.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5D6887
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217787;
/* rgb */ color: rgb(33, 119, 135);
/* oklch */ color: oklch(52.7% 0.082 213.0);
Tailwind
colors: {
  custom: {
    50: '#6d9eaa',
    500: '#217787',
    950: '#000000',
  },
}
SCSS
$custom: #217787;
$custom-light: #6d9eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#217787",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 189.412,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.08185,
    "h": 213
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#217787
secondary
#B75D4D
accent
#5D44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #217787

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

Preview Lab → · Contrast checker → · Palette generator →

#217787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva