#21767F#21767F

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

Color values

HEX#21767F
RGBrgb(33, 118, 127)
HSLhsl(186, 59%, 31%)
HSVhsv(186, 74%, 50%)
CMYKcmyk(74%, 7.1%, 0%, 50.2%)
CIE-LABlab(45.37, -21.37, -12.17)
CIE-LCHlch(45.37, 24.59, 209.67°)
OKLaboklab(52.09% -0.0711 -0.0338)
OKLCHoklch(52.09% 0.079 205.4)
XYZxyz(10.9347, 14.8112, 22.3571)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21767F #7F2A21
analogous
#217F59 #21767F #21477F
triadic
#21767F #7F2176 #767F21
tetradic
#21767F #59217F #7F2A21 #477F21
square
#21767F #59217F #7F2A21 #477F21
split-complementary
#21767F #7F2147 #7F5921
monochromatic
#081C1E #14494E #21767F #2EA3B0 #4AC3D0

Accessibility & contrast

On white

5.30
#21767F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21767F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21767F#FFFFFF#000000##FFFFFF
##21767F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7180
Deuteranopia (green-blind)
#5E677F
Tritanopia (blue-blind)
#007B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21767f;
/* rgb */ color: rgb(33, 118, 127);
/* oklch */ color: oklch(52.1% 0.079 205.4);
Tailwind
colors: {
  custom: {
    50: '#6c9ea4',
    500: '#21767f',
    950: '#000000',
  },
}
SCSS
$custom: #21767f;
$custom-light: #6c9ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#21767f",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 127
  },
  "hsl": {
    "h": 185.745,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.07877,
    "h": 205.4
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#21767F
secondary
#B2544A
accent
#5546E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21767F

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

Preview Lab → · Contrast checker → · Palette generator →

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