#21777E#21777E

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

Color values

HEX#21777E
RGBrgb(33, 119, 126)
HSLhsl(185, 58%, 31%)
HSVhsv(185, 74%, 49%)
CMYKcmyk(73.8%, 5.6%, 0%, 50.6%)
CIE-LABlab(45.66, -22.22, -11.14)
CIE-LCHlch(45.66, 24.86, 206.63°)
OKLaboklab(52.31% -0.0727 -0.0309)
OKLCHoklch(52.31% 0.079 203.1)
XYZxyz(10.9883, 15.0221, 22.0550)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21777E #7E2821
analogous
#217E56 #21777E #21487E
triadic
#21777E #7E2177 #777E21
tetradic
#21777E #56217E #7E2821 #487E21
square
#21777E #56217E #7E2821 #487E21
split-complementary
#21777E #7E2148 #7E5621
monochromatic
#081B1D #14494E #21777E #2EA5AE #4AC5D0

Accessibility & contrast

On white

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

On black

4.00
#21777E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21777E#FFFFFF#000000##FFFFFF
##21777E1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21777e;
/* rgb */ color: rgb(33, 119, 126);
/* oklch */ color: oklch(52.3% 0.079 203.1);
Tailwind
colors: {
  custom: {
    50: '#6c9ea3',
    500: '#21777e',
    950: '#000000',
  },
}
SCSS
$custom: #21777e;
$custom-light: #6c9ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#21777e",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 126
  },
  "hsl": {
    "h": 184.516,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.07898,
    "h": 203.1
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#21777E
secondary
#B1524A
accent
#5246E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21777E

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

Preview Lab → · Contrast checker → · Palette generator →

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