#21797B#21797B

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

Color values

HEX#21797B
RGBrgb(33, 121, 123)
HSLhsl(181, 58%, 31%)
HSVhsv(181, 73%, 48%)
CMYKcmyk(73.2%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.21, -24.22, -8.53)
CIE-LCHlch(46.21, 25.68, 199.40°)
OKLaboklab(52.72% -0.0762 -0.0237)
OKLCHoklch(52.72% 0.08 197.3)
XYZxyz(11.0381, 15.4268, 21.1310)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21797B #7B2321
analogous
#217B50 #21797B #214C7B
triadic
#21797B #7B2179 #797B21
tetradic
#21797B #50217B #7B2321 #4C7B21
square
#21797B #50217B #7B2321 #4C7B21
split-complementary
#21797B #7B214C #7B5021
monochromatic
#071A1A #144A4B #21797B #2EA8AB #48CBCE

Accessibility & contrast

On white

5.14
#21797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#21797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21797B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21797B#FFFFFF#000000##FFFFFF
##21797B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21797b;
/* rgb */ color: rgb(33, 121, 123);
/* oklch */ color: oklch(52.7% 0.080 197.3);
Tailwind
colors: {
  custom: {
    50: '#6ca0a1',
    500: '#21797b',
    950: '#000000',
  },
}
SCSS
$custom: #21797b;
$custom-light: #6ca0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21797b",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.07982,
    "h": 197.3
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#21797B
secondary
#AE4C4A
accent
#4A47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #21797B

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

Preview Lab → · Contrast checker → · Palette generator →

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