#21988F#21988F

#21988F is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.6% C 0.100 H 187.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#21988F
RGBrgb(33, 152, 143)
HSLhsl(175, 64%, 36%)
HSVhsv(175, 78%, 60%)
CMYKcmyk(78.3%, 0%, 5.9%, 40.4%)
CIE-LABlab(56.84, -33.31, -4.37)
CIE-LCHlch(56.84, 33.59, 187.48°)
OKLaboklab(61.57% -0.0993 -0.0124)
OKLCHoklch(61.57% 0.1 187.1)
XYZxyz(16.8110, 24.7609, 29.8746)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21988F #98212A
analogous
#219854 #21988F #216698
triadic
#21988F #8F2198 #988F21
tetradic
#21988F #542198 #98212A #669821
square
#21988F #542198 #98212A #669821
split-complementary
#21988F #982166 #985421
monochromatic
#0B3330 #166660 #21988F #2CCABE #59DBD1

Accessibility & contrast

On white

3.53
#21988F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#21988F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21988F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21988F#FFFFFF#000000##000000
##21988F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8F8F
Deuteranopia (green-blind)
#7F8390
Tritanopia (blue-blind)
#009C95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #21988f;
/* rgb */ color: rgb(33, 152, 143);
/* oklch */ color: oklch(61.6% 0.100 187.1);
Tailwind
colors: {
  custom: {
    50: '#72b7af',
    500: '#21988f',
    950: '#000000',
  },
}
SCSS
$custom: #21988f;
$custom-light: #72b7af;
$custom-dark: #000000;
JSON
{
  "hex": "#21988f",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 143
  },
  "hsl": {
    "h": 175.462,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.10005,
    "h": 187.1
  },
  "luminance": 0.24763
}

Semantic roles & 50–950 ramp

primary
#21988F
secondary
#BF565E
accent
#404DE7
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21988F

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

Preview Lab → · Contrast checker → · Palette generator →

#21988F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva