#21815B#21815B

#21815B is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.9% C 0.106 H 162.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#21815B
RGBrgb(33, 129, 91)
HSLhsl(156, 59%, 32%)
HSVhsv(156, 74%, 51%)
CMYKcmyk(74.4%, 0%, 29.5%, 49.4%)
CIE-LABlab(47.98, -36.89, 12.88)
CIE-LCHlch(47.98, 39.08, 160.76°)
OKLaboklab(53.87% -0.1009 0.0328)
OKLCHoklch(53.87% 0.106 162)
XYZxyz(10.3647, 16.7780, 12.5877)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21815B #812147
analogous
#21812B #21815B #217781
triadic
#21815B #5B2181 #815B21
tetradic
#21815B #2B2181 #812147 #778121
square
#21815B #2B2181 #812147 #778121
split-complementary
#21815B #812177 #812B21
monochromatic
#082016 #155039 #21815B #2DB27D #4BD19C

Accessibility & contrast

On white

4.82
#21815B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#21815B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21815B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21815B#FFFFFF#000000##FFFFFF
##21815B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7759
Deuteranopia (green-blind)
#736E5D
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21815b;
/* rgb */ color: rgb(33, 129, 91);
/* oklch */ color: oklch(53.9% 0.106 162.0);
Tailwind
colors: {
  custom: {
    50: '#6ba689',
    500: '#21815b',
    950: '#000000',
  },
}
SCSS
$custom: #21815b;
$custom-light: #6ba689;
$custom-dark: #000000;
JSON
{
  "hex": "#21815b",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 91
  },
  "hsl": {
    "h": 156.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.10606,
    "h": 162
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#21815B
secondary
#B44A74
accent
#4584E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #21815B

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

Preview Lab → · Contrast checker → · Palette generator →

#21815B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva