#21767E#21767E

#21767E is a mid, moderate teal. Relative luminance 0.148; OKLCH L 52.0% C 0.079 H 204.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#21767E
RGBrgb(33, 118, 126)
HSLhsl(185, 58%, 31%)
HSVhsv(185, 74%, 49%)
CMYKcmyk(73.8%, 6.3%, 0%, 50.6%)
CIE-LABlab(45.34, -21.69, -11.63)
CIE-LCHlch(45.34, 24.61, 208.20°)
OKLaboklab(52.05% -0.0716 -0.0323)
OKLCHoklch(52.05% 0.079 204.3)
XYZxyz(10.8699, 14.7853, 22.0156)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21767E #7E2921
analogous
#217E57 #21767E #21477E
triadic
#21767E #7E2176 #767E21
tetradic
#21767E #57217E #7E2921 #477E21
square
#21767E #57217E #7E2921 #477E21
split-complementary
#21767E #7E2147 #7E5721
monochromatic
#081B1D #14494E #21767E #2EA3AE #4AC4D0

Accessibility & contrast

On white

5.31
#21767E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#21767E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21767E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21767E#FFFFFF#000000##FFFFFF
##21767E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C717F
Deuteranopia (green-blind)
#5F677E
Tritanopia (blue-blind)
#007B78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21767e;
/* rgb */ color: rgb(33, 118, 126);
/* oklch */ color: oklch(52.0% 0.079 204.3);
Tailwind
colors: {
  custom: {
    50: '#6c9ea3',
    500: '#21767e',
    950: '#000000',
  },
}
SCSS
$custom: #21767e;
$custom-light: #6c9ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#21767e",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 126
  },
  "hsl": {
    "h": 185.161,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.07855,
    "h": 204.3
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#21767E
secondary
#B1534A
accent
#5346E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21767E

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

Preview Lab → · Contrast checker → · Palette generator →

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