#21707F#21707F

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

Color values

HEX#21707F
RGBrgb(33, 112, 127)
HSLhsl(190, 59%, 31%)
HSVhsv(190, 74%, 50%)
CMYKcmyk(74%, 11.8%, 0%, 50.2%)
CIE-LABlab(43.42, -18.14, -15.13)
CIE-LCHlch(43.42, 23.62, 219.85°)
OKLaboklab(50.51% -0.0647 -0.0421)
OKLCHoklch(50.51% 0.077 213.1)
XYZxyz(10.2505, 13.4428, 22.1290)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21707F #7F3021
analogous
#217F5F #21707F #21417F
triadic
#21707F #7F2170 #707F21
tetradic
#21707F #5F217F #7F3021 #417F21
square
#21707F #5F217F #7F3021 #417F21
split-complementary
#21707F #7F2141 #7F5F21
monochromatic
#081A1E #14454E #21707F #2E9BB0 #4ABBD0

Accessibility & contrast

On white

5.69
#21707F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#21707F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21707F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21707F#FFFFFF#000000##FFFFFF
##21707F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656C80
Deuteranopia (green-blind)
#58627F
Tritanopia (blue-blind)
#007675
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21707f;
/* rgb */ color: rgb(33, 112, 127);
/* oklch */ color: oklch(50.5% 0.077 213.1);
Tailwind
colors: {
  custom: {
    50: '#6b99a4',
    500: '#21707f',
    950: '#000000',
  },
}
SCSS
$custom: #21707f;
$custom-light: #6b99a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21707f",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 127
  },
  "hsl": {
    "h": 189.574,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.07719,
    "h": 213.1
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#21707F
secondary
#B25B4A
accent
#5F46E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #21707F

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

Preview Lab → · Contrast checker → · Palette generator →

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