#21797E#21797E

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

Color values

HEX#21797E
RGBrgb(33, 121, 126)
HSLhsl(183, 58%, 31%)
HSVhsv(183, 74%, 49%)
CMYKcmyk(73.8%, 4%, 0%, 50.6%)
CIE-LABlab(46.32, -23.26, -10.16)
CIE-LCHlch(46.32, 25.38, 203.59°)
OKLaboklab(52.84% -0.0748 -0.0282)
OKLCHoklch(52.84% 0.08 200.6)
XYZxyz(11.2288, 15.5031, 22.1352)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21797E #7E2621
analogous
#217E54 #21797E #214A7E
triadic
#21797E #7E2179 #797E21
tetradic
#21797E #54217E #7E2621 #4A7E21
square
#21797E #54217E #7E2621 #4A7E21
split-complementary
#21797E #7E214A #7E5421
monochromatic
#081C1D #144A4E #21797E #2EA8AE #4AC8D0

Accessibility & contrast

On white

5.12
#21797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#21797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21797E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21797E#FFFFFF#000000##FFFFFF
##21797E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737E
Deuteranopia (green-blind)
#626A7E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21797e;
/* rgb */ color: rgb(33, 121, 126);
/* oklch */ color: oklch(52.8% 0.080 200.6);
Tailwind
colors: {
  custom: {
    50: '#6ca0a3',
    500: '#21797e',
    950: '#000000',
  },
}
SCSS
$custom: #21797e;
$custom-light: #6ca0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21797e",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.226,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.07997,
    "h": 200.6
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#21797E
secondary
#B1504A
accent
#4E46E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21797E

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

Preview Lab → · Contrast checker → · Palette generator →

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