#217879#217879

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

Color values

HEX#217879
RGBrgb(33, 120, 121)
HSLhsl(181, 57%, 30%)
HSVhsv(181, 73%, 47%)
CMYKcmyk(72.7%, 0.8%, 0%, 52.5%)
CIE-LABlab(45.82, -24.34, -7.93)
CIE-LCHlch(45.82, 25.59, 198.05°)
OKLaboklab(52.38% -0.0761 -0.022)
OKLCHoklch(52.38% 0.079 196.1)
XYZxyz(10.7933, 15.1355, 20.4381)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217879 #792221
analogous
#21794E #217879 #214C79
triadic
#217879 #792178 #787921
tetradic
#217879 #4E2179 #792221 #4C7921
square
#217879 #4E2179 #792221 #4C7921
split-complementary
#217879 #79214C #794E21
monochromatic
#071919 #144849 #217879 #2EA8A9 #47CBCD

Accessibility & contrast

On white

5.21
#217879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#217879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217879
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217879#FFFFFF#000000##FFFFFF
##2178791.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#63687A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217879;
/* rgb */ color: rgb(33, 120, 121);
/* oklch */ color: oklch(52.4% 0.079 196.1);
Tailwind
colors: {
  custom: {
    50: '#6b9f9f',
    500: '#217879',
    950: '#000000',
  },
}
SCSS
$custom: #217879;
$custom-light: #6b9f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#217879",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.682,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.0792,
    "h": 196.1
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#217879
secondary
#AC4B4A
accent
#4947E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #217879

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

Preview Lab → · Contrast checker → · Palette generator →

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