#21797C#21797C

#21797C is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.080 H 198.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#21797C
RGBrgb(33, 121, 124)
HSLhsl(182, 58%, 31%)
HSVhsv(182, 73%, 49%)
CMYKcmyk(73.4%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.25, -23.90, -9.07)
CIE-LCHlch(46.25, 25.57, 200.79°)
OKLaboklab(52.76% -0.0758 -0.0252)
OKLCHoklch(52.76% 0.08 198.4)
XYZxyz(11.1010, 15.4520, 21.4623)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21797C #7C2421
analogous
#217C51 #21797C #214B7C
triadic
#21797C #7C2179 #797C21
tetradic
#21797C #51217C #7C2421 #4B7C21
square
#21797C #51217C #7C2421 #4B7C21
split-complementary
#21797C #7C214B #7C5121
monochromatic
#071B1B #144A4C #21797C #2EA8AC #49CACF

Accessibility & contrast

On white

5.13
#21797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21797C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21797C#FFFFFF#000000##FFFFFF
##21797C1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#63697D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21797c;
/* rgb */ color: rgb(33, 121, 124);
/* oklch */ color: oklch(52.8% 0.080 198.4);
Tailwind
colors: {
  custom: {
    50: '#6ca0a1',
    500: '#21797c',
    950: '#000000',
  },
}
SCSS
$custom: #21797c;
$custom-light: #6ca0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21797c",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 181.978,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.07984,
    "h": 198.4
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#21797C
secondary
#AF4D4A
accent
#4C47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #21797C

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

Preview Lab → · Contrast checker → · Palette generator →

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