#21717D#21717D

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

Color values

HEX#21717D
RGBrgb(33, 113, 125)
HSLhsl(188, 58%, 31%)
HSVhsv(188, 74%, 49%)
CMYKcmyk(73.6%, 9.6%, 0%, 51%)
CIE-LABlab(43.67, -19.35, -13.55)
CIE-LCHlch(43.67, 23.63, 215.01°)
OKLaboklab(50.69% -0.0666 -0.0377)
OKLCHoklch(50.69% 0.077 209.5)
XYZxyz(10.2324, 13.6131, 21.4864)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21717D #7D2D21
analogous
#217D5B #21717D #21437D
triadic
#21717D #7D2171 #717D21
tetradic
#21717D #5B217D #7D2D21 #437D21
square
#21717D #5B217D #7D2D21 #437D21
split-complementary
#21717D #7D2143 #7D5B21
monochromatic
#07191C #14454D #21717D #2E9DAD #49BECF

Accessibility & contrast

On white

5.64
#21717D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#21717D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21717D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21717D#FFFFFF#000000##FFFFFF
##21717D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#007675
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21717d;
/* rgb */ color: rgb(33, 113, 125);
/* oklch */ color: oklch(50.7% 0.077 209.5);
Tailwind
colors: {
  custom: {
    50: '#6b9aa2',
    500: '#21717d',
    950: '#000000',
  },
}
SCSS
$custom: #21717d;
$custom-light: #6b9aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#21717d",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 125
  },
  "hsl": {
    "h": 187.826,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.07656,
    "h": 209.5
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#21717D
secondary
#B0574A
accent
#5B46E1
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #21717D

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

Preview Lab → · Contrast checker → · Palette generator →

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