#21978E#21978E

#21978E is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.3% C 0.099 H 187.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#21978E
RGBrgb(33, 151, 142)
HSLhsl(175, 64%, 36%)
HSVhsv(175, 78%, 59%)
CMYKcmyk(78.1%, 0%, 6%, 40.8%)
CIE-LABlab(56.49, -33.13, -4.31)
CIE-LCHlch(56.49, 33.41, 187.42°)
OKLaboklab(61.28% -0.0987 -0.0122)
OKLCHoklch(61.28% 0.099 187.1)
XYZxyz(16.5739, 24.4075, 29.4235)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21978E #97212A
analogous
#219753 #21978E #216597
triadic
#21978E #8E2197 #978E21
tetradic
#21978E #532197 #97212A #659721
square
#21978E #532197 #97212A #659721
split-complementary
#21978E #972165 #975321
monochromatic
#0B3330 #16655F #21978E #2CC9BD #58DAD1

Accessibility & contrast

On white

3.57
#21978E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#21978E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21978E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21978E#FFFFFF#000000##000000
##21978E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8E
Deuteranopia (green-blind)
#7E838F
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21978e;
/* rgb */ color: rgb(33, 151, 142);
/* oklch */ color: oklch(61.3% 0.099 187.1);
Tailwind
colors: {
  custom: {
    50: '#72b6af',
    500: '#21978e',
    950: '#000000',
  },
}
SCSS
$custom: #21978e;
$custom-light: #72b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#21978e",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 142
  },
  "hsl": {
    "h": 175.424,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.09948,
    "h": 187.1
  },
  "luminance": 0.2441
}

Semantic roles & 50–950 ramp

primary
#21978E
secondary
#BE555D
accent
#414DE7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21978E

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

Preview Lab → · Contrast checker → · Palette generator →

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