#21717E#21717E

#21717E is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.7% C 0.077 H 210.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#21717E
RGBrgb(33, 113, 126)
HSLhsl(188, 58%, 31%)
HSVhsv(188, 74%, 49%)
CMYKcmyk(73.8%, 10.3%, 0%, 50.6%)
CIE-LABlab(43.71, -19.02, -14.10)
CIE-LCHlch(43.71, 23.67, 216.55°)
OKLaboklab(50.73% -0.0662 -0.0392)
OKLCHoklch(50.73% 0.077 210.6)
XYZxyz(10.2966, 13.6387, 21.8245)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21717E #7E2E21
analogous
#217E5C #21717E #21427E
triadic
#21717E #7E2171 #717E21
tetradic
#21717E #5C217E #7E2E21 #427E21
square
#21717E #5C217E #7E2E21 #427E21
split-complementary
#21717E #7E2142 #7E5C21
monochromatic
#081A1D #14464E #21717E #2E9CAE #4ABDD0

Accessibility & contrast

On white

5.63
#21717E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#21717E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21717E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21717E#FFFFFF#000000##FFFFFF
##21717E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666D7F
Deuteranopia (green-blind)
#59637E
Tritanopia (blue-blind)
#007775
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21717e;
/* rgb */ color: rgb(33, 113, 126);
/* oklch */ color: oklch(50.7% 0.077 210.6);
Tailwind
colors: {
  custom: {
    50: '#6b9aa3',
    500: '#21717e',
    950: '#000000',
  },
}
SCSS
$custom: #21717e;
$custom-light: #6b9aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#21717e",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 126
  },
  "hsl": {
    "h": 188.387,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.07694,
    "h": 210.6
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#21717E
secondary
#B1584A
accent
#5C46E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #21717E

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

Preview Lab → · Contrast checker → · Palette generator →

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