#21707D#21707D

#21707D is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.4% C 0.076 H 210.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#21707D
RGBrgb(33, 112, 125)
HSLhsl(188, 58%, 31%)
HSVhsv(188, 74%, 49%)
CMYKcmyk(73.6%, 10.4%, 0%, 51%)
CIE-LABlab(43.35, -18.81, -14.05)
CIE-LCHlch(43.35, 23.48, 216.76°)
OKLaboklab(50.43% -0.0655 -0.0391)
OKLCHoklch(50.43% 0.076 210.8)
XYZxyz(10.1215, 13.3912, 21.4494)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21707D #7D2E21
analogous
#217D5C #21707D #21427D
triadic
#21707D #7D2170 #707D21
tetradic
#21707D #5C217D #7D2E21 #427D21
square
#21707D #5C217D #7D2E21 #427D21
split-complementary
#21707D #7D2142 #7D5C21
monochromatic
#07191C #14454D #21707D #2E9BAD #49BCCF

Accessibility & contrast

On white

5.71
#21707D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#21707D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21707D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21707D#FFFFFF#000000##FFFFFF
##21707D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21707d;
/* rgb */ color: rgb(33, 112, 125);
/* oklch */ color: oklch(50.4% 0.076 210.8);
Tailwind
colors: {
  custom: {
    50: '#6b99a2',
    500: '#21707d',
    950: '#000000',
  },
}
SCSS
$custom: #21707d;
$custom-light: #6b99a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21707d",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 125
  },
  "hsl": {
    "h": 188.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.07632,
    "h": 210.8
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#21707D
secondary
#B0584A
accent
#5C46E1
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #21707D

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

Preview Lab → · Contrast checker → · Palette generator →

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