#21837E#21837E

#21837E is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.5% C 0.087 H 189.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#21837E
RGBrgb(33, 131, 126)
HSLhsl(177, 60%, 32%)
HSVhsv(177, 75%, 51%)
CMYKcmyk(74.8%, 0%, 3.8%, 48.6%)
CIE-LABlab(49.57, -28.31, -5.30)
CIE-LCHlch(49.57, 28.80, 190.60°)
OKLaboklab(55.48% -0.0855 -0.0148)
OKLCHoklch(55.48% 0.087 189.8)
XYZxyz(12.5076, 18.0608, 22.5615)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21837E #832126
analogous
#21834D #21837E #215783
triadic
#21837E #7E2183 #837E21
tetradic
#21837E #4D2183 #832126 #578321
square
#21837E #4D2183 #832126 #578321
split-complementary
#21837E #832157 #834D21
monochromatic
#082120 #15524F #21837E #2DB4AD #4CD2CB

Accessibility & contrast

On white

4.55
#21837E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#21837E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21837E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21837E#FFFFFF#000000##000000
##21837E1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C7E
Deuteranopia (green-blind)
#6D727F
Tritanopia (blue-blind)
#008781
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21837e;
/* rgb */ color: rgb(33, 131, 126);
/* oklch */ color: oklch(55.5% 0.087 189.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a3',
    500: '#21837e',
    950: '#000000',
  },
}
SCSS
$custom: #21837e;
$custom-light: #6da7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21837e",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 126
  },
  "hsl": {
    "h": 176.939,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.08681,
    "h": 189.8
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#21837E
secondary
#B54B50
accent
#454DE3
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21837E

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

Preview Lab → · Contrast checker → · Palette generator →

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