#21717F#21717F

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

Color values

HEX#21717F
RGBrgb(33, 113, 127)
HSLhsl(189, 59%, 31%)
HSVhsv(189, 74%, 50%)
CMYKcmyk(74%, 11%, 0%, 50.2%)
CIE-LABlab(43.75, -18.68, -14.64)
CIE-LCHlch(43.75, 23.73, 218.08°)
OKLaboklab(50.78% -0.0657 -0.0407)
OKLCHoklch(50.78% 0.077 211.8)
XYZxyz(10.3615, 13.6647, 22.1660)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21717F #7F2F21
analogous
#217F5E #21717F #21427F
triadic
#21717F #7F2171 #717F21
tetradic
#21717F #5E217F #7F2F21 #427F21
square
#21717F #5E217F #7F2F21 #427F21
split-complementary
#21717F #7F2142 #7F5E21
monochromatic
#081B1E #14464E #21717F #2E9CB0 #4ABCD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21717F#FFFFFF#000000##FFFFFF
##21717F1.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)
#666D80
Deuteranopia (green-blind)
#59637F
Tritanopia (blue-blind)
#007775
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21717f;
/* rgb */ color: rgb(33, 113, 127);
/* oklch */ color: oklch(50.8% 0.077 211.8);
Tailwind
colors: {
  custom: {
    50: '#6b9aa4',
    500: '#21717f',
    950: '#000000',
  },
}
SCSS
$custom: #21717f;
$custom-light: #6b9aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#21717f",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 127
  },
  "hsl": {
    "h": 188.936,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.07735,
    "h": 211.8
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#21717F
secondary
#B25A4A
accent
#5D46E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21717F

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

Preview Lab → · Contrast checker → · Palette generator →

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