#21815E#21815E

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

Color values

HEX#21815E
RGBrgb(33, 129, 94)
HSLhsl(158, 59%, 32%)
HSVhsv(158, 74%, 51%)
CMYKcmyk(74.4%, 0%, 27.1%, 49.4%)
CIE-LABlab(48.05, -36.17, 11.23)
CIE-LCHlch(48.05, 37.88, 162.75°)
OKLaboklab(53.95% -0.0993 0.0287)
OKLCHoklch(53.95% 0.103 163.9)
XYZxyz(10.4967, 16.8308, 13.2830)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21815E #812144
analogous
#21812E #21815E #217481
triadic
#21815E #5E2181 #815E21
tetradic
#21815E #2E2181 #812144 #748121
square
#21815E #2E2181 #812144 #748121
split-complementary
#21815E #812174 #812E21
monochromatic
#082017 #15503A #21815E #2DB282 #4BD1A0

Accessibility & contrast

On white

4.81
#21815E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#21815E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21815E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21815E#FFFFFF#000000##FFFFFF
##21815E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775C
Deuteranopia (green-blind)
#726E60
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21815e;
/* rgb */ color: rgb(33, 129, 94);
/* oklch */ color: oklch(53.9% 0.103 163.9);
Tailwind
colors: {
  custom: {
    50: '#6ba68b',
    500: '#21815e',
    950: '#000000',
  },
}
SCSS
$custom: #21815e;
$custom-light: #6ba68b;
$custom-dark: #000000;
JSON
{
  "hex": "#21815e",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 94
  },
  "hsl": {
    "h": 158.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.10339,
    "h": 163.9
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#21815E
secondary
#B44A71
accent
#457FE2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #21815E

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

Preview Lab → · Contrast checker → · Palette generator →

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