#21786E#21786E

#21786E is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.082 H 183.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#21786E
RGBrgb(33, 120, 110)
HSLhsl(173, 57%, 30%)
HSVhsv(173, 73%, 47%)
CMYKcmyk(72.5%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.47, -27.69, -1.89)
CIE-LCHlch(45.47, 27.75, 183.91°)
OKLaboklab(51.98% -0.0814 -0.0055)
OKLCHoklch(51.98% 0.082 183.9)
XYZxyz(10.1568, 14.8809, 17.0858)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21786E #78212B
analogous
#217842 #21786E #215778
triadic
#21786E #6E2178 #786E21
tetradic
#21786E #422178 #78212B #577821
square
#21786E #422178 #78212B #577821
split-complementary
#21786E #782157 #784221
monochromatic
#071816 #144842 #21786E #2EA89A #47CCBD

Accessibility & contrast

On white

5.28
#21786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#21786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21786E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21786E#FFFFFF#000000##FFFFFF
##21786E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21786e;
/* rgb */ color: rgb(33, 120, 110);
/* oklch */ color: oklch(52.0% 0.082 183.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f97',
    500: '#21786e',
    950: '#000000',
  },
}
SCSS
$custom: #21786e;
$custom-light: #6a9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#21786e",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 173.103,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.0816,
    "h": 183.9
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#21786E
secondary
#AB4A55
accent
#4859E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21786E

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

Preview Lab → · Contrast checker → · Palette generator →

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