#21837B#21837B

#21837B is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.4% C 0.088 H 186.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#21837B
RGBrgb(33, 131, 123)
HSLhsl(175, 60%, 32%)
HSVhsv(175, 75%, 51%)
CMYKcmyk(74.8%, 0%, 6.1%, 48.6%)
CIE-LABlab(49.48, -29.21, -3.67)
CIE-LCHlch(49.48, 29.44, 187.17°)
OKLaboklab(55.37% -0.087 -0.0104)
OKLCHoklch(55.37% 0.088 186.8)
XYZxyz(12.3170, 17.9845, 21.5573)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21837B #832129
analogous
#21834A #21837B #215A83
triadic
#21837B #7B2183 #837B21
tetradic
#21837B #4A2183 #832129 #5A8321
square
#21837B #4A2183 #832129 #5A8321
split-complementary
#21837B #83215A #834A21
monochromatic
#08211F #15524D #21837B #2DB4A9 #4CD2C7

Accessibility & contrast

On white

4.57
#21837B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#21837B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21837B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21837B#FFFFFF#000000##000000
##21837B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7C7B
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21837b;
/* rgb */ color: rgb(33, 131, 123);
/* oklch */ color: oklch(55.4% 0.088 186.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a1',
    500: '#21837b',
    950: '#000000',
  },
}
SCSS
$custom: #21837b;
$custom-light: #6da7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21837b",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 123
  },
  "hsl": {
    "h": 175.102,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.08759,
    "h": 186.8
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#21837B
secondary
#B54B53
accent
#4552E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #21837B

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

Preview Lab → · Contrast checker → · Palette generator →

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