#21707E#21707E

#21707E is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.5% C 0.077 H 212.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#21707E
RGBrgb(33, 112, 126)
HSLhsl(189, 58%, 31%)
HSVhsv(189, 74%, 49%)
CMYKcmyk(73.8%, 11.1%, 0%, 50.6%)
CIE-LABlab(43.38, -18.47, -14.59)
CIE-LCHlch(43.38, 23.54, 218.31°)
OKLaboklab(50.47% -0.0651 -0.0406)
OKLCHoklch(50.47% 0.077 212)
XYZxyz(10.1857, 13.4168, 21.7875)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21707E #7E2F21
analogous
#217E5D #21707E #21417E
triadic
#21707E #7E2170 #707E21
tetradic
#21707E #5D217E #7E2F21 #417E21
square
#21707E #5D217E #7E2F21 #417E21
split-complementary
#21707E #7E2141 #7E5D21
monochromatic
#081A1D #14454E #21707E #2E9BAE #4ABBD0

Accessibility & contrast

On white

5.70
#21707E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21707E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21707E#FFFFFF#000000##FFFFFF
##21707E1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21707e;
/* rgb */ color: rgb(33, 112, 126);
/* oklch */ color: oklch(50.5% 0.077 212.0);
Tailwind
colors: {
  custom: {
    50: '#6b99a3',
    500: '#21707e',
    950: '#000000',
  },
}
SCSS
$custom: #21707e;
$custom-light: #6b99a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21707e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 126
  },
  "hsl": {
    "h": 189.032,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.07674,
    "h": 212
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#21707E
secondary
#B15A4A
accent
#5E46E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #21707E

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

Preview Lab → · Contrast checker → · Palette generator →

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