#217877#217877

#217877 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.079 H 193.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#217877
RGBrgb(33, 120, 119)
HSLhsl(179, 57%, 30%)
HSVhsv(179, 73%, 47%)
CMYKcmyk(72.5%, 0%, 0.8%, 52.9%)
CIE-LABlab(45.75, -24.96, -6.84)
CIE-LCHlch(45.75, 25.88, 195.32°)
OKLaboklab(52.3% -0.077 -0.019)
OKLCHoklch(52.3% 0.079 193.9)
XYZxyz(10.6719, 15.0869, 19.7988)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217877 #782122
analogous
#21784B #217877 #214E78
triadic
#217877 #772178 #787721
tetradic
#217877 #4B2178 #782122 #4E7821
square
#217877 #4B2178 #782122 #4E7821
split-complementary
#217877 #78214E #784B21
monochromatic
#071818 #144847 #217877 #2EA8A7 #47CCCB

Accessibility & contrast

On white

5.23
#217877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217877
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217877#FFFFFF#000000##FFFFFF
##2178771.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707277
Deuteranopia (green-blind)
#636878
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217877;
/* rgb */ color: rgb(33, 120, 119);
/* oklch */ color: oklch(52.3% 0.079 193.9);
Tailwind
colors: {
  custom: {
    50: '#6b9f9e',
    500: '#217877',
    950: '#000000',
  },
}
SCSS
$custom: #217877;
$custom-light: #6b9f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#217877",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 119
  },
  "hsl": {
    "h": 179.31,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.07934,
    "h": 193.9
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#217877
secondary
#AB4A4B
accent
#4849E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #217877

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

Preview Lab → · Contrast checker → · Palette generator →

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