#21787C#21787C

#21787C is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.079 H 199.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#21787C
RGBrgb(33, 120, 124)
HSLhsl(183, 58%, 31%)
HSVhsv(183, 73%, 49%)
CMYKcmyk(73.4%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.92, -23.38, -9.56)
CIE-LCHlch(45.92, 25.26, 202.24°)
OKLaboklab(52.49% -0.0747 -0.0265)
OKLCHoklch(52.49% 0.079 199.6)
XYZxyz(10.9801, 15.2102, 21.4221)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21787C #7C2521
analogous
#217C52 #21787C #214A7C
triadic
#21787C #7C2178 #787C21
tetradic
#21787C #52217C #7C2521 #4A7C21
square
#21787C #52217C #7C2521 #4A7C21
split-complementary
#21787C #7C214A #7C5221
monochromatic
#071A1B #14494C #21787C #2EA7AC #49C9CF

Accessibility & contrast

On white

5.19
#21787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#21787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21787C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21787C#FFFFFF#000000##FFFFFF
##21787C1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21787c;
/* rgb */ color: rgb(33, 120, 124);
/* oklch */ color: oklch(52.5% 0.079 199.6);
Tailwind
colors: {
  custom: {
    50: '#6c9fa1',
    500: '#21787c',
    950: '#000000',
  },
}
SCSS
$custom: #21787c;
$custom-light: #6c9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21787c",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.637,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.07926,
    "h": 199.6
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#21787C
secondary
#AF4E4A
accent
#4D47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #21787C

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

Preview Lab → · Contrast checker → · Palette generator →

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