#21717C#21717C

#21717C is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.6% C 0.076 H 208.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#21717C
RGBrgb(33, 113, 124)
HSLhsl(187, 58%, 31%)
HSVhsv(187, 73%, 49%)
CMYKcmyk(73.4%, 8.9%, 0%, 51.4%)
CIE-LABlab(43.64, -19.69, -13.01)
CIE-LCHlch(43.64, 23.60, 213.46°)
OKLaboklab(50.65% -0.0671 -0.0362)
OKLCHoklch(50.65% 0.076 208.3)
XYZxyz(10.1688, 13.5876, 21.1516)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21717C #7C2C21
analogous
#217C59 #21717C #21437C
triadic
#21717C #7C2171 #717C21
tetradic
#21717C #59217C #7C2C21 #437C21
square
#21717C #59217C #7C2C21 #437C21
split-complementary
#21717C #7C2143 #7C5921
monochromatic
#07191B #14454C #21717C #2E9DAC #49BECF

Accessibility & contrast

On white

5.65
#21717C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21717C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21717C#FFFFFF#000000##FFFFFF
##21717C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676D7D
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21717c;
/* rgb */ color: rgb(33, 113, 124);
/* oklch */ color: oklch(50.6% 0.076 208.3);
Tailwind
colors: {
  custom: {
    50: '#6b9aa1',
    500: '#21717c',
    950: '#000000',
  },
}
SCSS
$custom: #21717c;
$custom-light: #6b9aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21717c",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 124
  },
  "hsl": {
    "h": 187.253,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.07621,
    "h": 208.3
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#21717C
secondary
#AF564A
accent
#5947E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #21717C

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

Preview Lab → · Contrast checker → · Palette generator →

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