#21797A#21797A

#21797A is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.080 H 196.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#21797A
RGBrgb(33, 121, 122)
HSLhsl(181, 57%, 30%)
HSVhsv(181, 73%, 48%)
CMYKcmyk(73%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.18, -24.53, -7.98)
CIE-LCHlch(46.18, 25.80, 198.03°)
OKLaboklab(52.68% -0.0767 -0.0222)
OKLCHoklch(52.68% 0.08 196.1)
XYZxyz(10.9758, 15.4019, 20.8030)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21797A #7A2221
analogous
#217A4E #21797A #214C7A
triadic
#21797A #7A2179 #797A21
tetradic
#21797A #4E217A #7A2221 #4C7A21
square
#21797A #4E217A #7A2221 #4C7A21
split-complementary
#21797A #7A214C #7A4E21
monochromatic
#07191A #14494A #21797A #2EA9AA #48CCCD

Accessibility & contrast

On white

5.15
#21797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#21797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21797A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21797A#FFFFFF#000000##FFFFFF
##21797A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21797a;
/* rgb */ color: rgb(33, 121, 122);
/* oklch */ color: oklch(52.7% 0.080 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ca0a0',
    500: '#21797a',
    950: '#000000',
  },
}
SCSS
$custom: #21797a;
$custom-light: #6ca0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21797a",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.674,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.07984,
    "h": 196.1
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#21797A
secondary
#AD4B4A
accent
#4947E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #21797A

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

Preview Lab → · Contrast checker → · Palette generator →

#21797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva