#21827F#21827F

#21827F is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.3% C 0.086 H 191.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#21827F
RGBrgb(33, 130, 127)
HSLhsl(178, 60%, 32%)
HSVhsv(178, 75%, 51%)
CMYKcmyk(74.6%, 0%, 2.3%, 49%)
CIE-LABlab(49.28, -27.51, -6.32)
CIE-LCHlch(49.28, 28.23, 192.94°)
OKLaboklab(55.25% -0.084 -0.0176)
OKLCHoklch(55.25% 0.086 191.9)
XYZxyz(12.4388, 17.8194, 22.8585)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21827F #822124
analogous
#21824F #21827F #215582
triadic
#21827F #7F2182 #827F21
tetradic
#21827F #4F2182 #822124 #558221
square
#21827F #4F2182 #822124 #558221
split-complementary
#21827F #822155 #824F21
monochromatic
#082020 #15514F #21827F #2DB3AF #4CD2CD

Accessibility & contrast

On white

4.60
#21827F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#21827F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21827F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21827F#FFFFFF#000000##FFFFFF
##21827F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7F
Deuteranopia (green-blind)
#6C7180
Tritanopia (blue-blind)
#008681
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21827f;
/* rgb */ color: rgb(33, 130, 127);
/* oklch */ color: oklch(55.3% 0.086 191.9);
Tailwind
colors: {
  custom: {
    50: '#6da7a4',
    500: '#21827f',
    950: '#000000',
  },
}
SCSS
$custom: #21827f;
$custom-light: #6da7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21827f",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 127
  },
  "hsl": {
    "h": 178.144,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.08582,
    "h": 191.9
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#21827F
secondary
#B44A4E
accent
#454AE3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21827F

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

Preview Lab → · Contrast checker → · Palette generator →

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