#21777F#21777F

#21777F is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.3% C 0.079 H 204.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#21777F
RGBrgb(33, 119, 127)
HSLhsl(185, 59%, 31%)
HSVhsv(185, 74%, 50%)
CMYKcmyk(74%, 6.3%, 0%, 50.2%)
CIE-LABlab(45.70, -21.89, -11.68)
CIE-LCHlch(45.70, 24.82, 208.08°)
OKLaboklab(52.35% -0.0722 -0.0324)
OKLCHoklch(52.35% 0.079 204.2)
XYZxyz(11.0531, 15.0480, 22.3966)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21777F #7F2921
analogous
#217F58 #21777F #21487F
triadic
#21777F #7F2177 #777F21
tetradic
#21777F #58217F #7F2921 #487F21
square
#21777F #58217F #7F2921 #487F21
split-complementary
#21777F #7F2148 #7F5821
monochromatic
#081C1E #14494E #21777F #2EA5B0 #4AC5D0

Accessibility & contrast

On white

5.24
#21777F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#21777F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21777F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21777F#FFFFFF#000000##FFFFFF
##21777F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7280
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21777f;
/* rgb */ color: rgb(33, 119, 127);
/* oklch */ color: oklch(52.3% 0.079 204.2);
Tailwind
colors: {
  custom: {
    50: '#6c9ea4',
    500: '#21777f',
    950: '#000000',
  },
}
SCSS
$custom: #21777f;
$custom-light: #6c9ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#21777f",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 127
  },
  "hsl": {
    "h": 185.106,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.07917,
    "h": 204.2
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#21777F
secondary
#B2534A
accent
#5346E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21777F

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

Preview Lab → · Contrast checker → · Palette generator →

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