#21897C#21897C

#21897C is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.0% C 0.093 H 182.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#21897C
RGBrgb(33, 137, 124)
HSLhsl(173, 61%, 33%)
HSVhsv(173, 76%, 54%)
CMYKcmyk(75.9%, 0%, 9.5%, 46.3%)
CIE-LABlab(51.46, -31.79, -1.34)
CIE-LCHlch(51.46, 31.81, 182.42°)
OKLaboklab(57% -0.0928 -0.0041)
OKLCHoklch(57% 0.093 182.6)
XYZxyz(13.2092, 19.6683, 22.1651)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21897C #89212E
analogous
#218948 #21897C #216289
triadic
#21897C #7C2189 #897C21
tetradic
#21897C #482189 #89212E #628921
square
#21897C #482189 #89212E #628921
split-complementary
#21897C #892162 #894821
monochromatic
#092623 #15584F #21897C #2DBAA9 #50D5C4

Accessibility & contrast

On white

4.26
#21897C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#21897C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21897C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21897C#FFFFFF#000000##000000
##21897C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817C
Deuteranopia (green-blind)
#74767D
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #21897c;
/* rgb */ color: rgb(33, 137, 124);
/* oklch */ color: oklch(57.0% 0.093 182.6);
Tailwind
colors: {
  custom: {
    50: '#6eaca1',
    500: '#21897c',
    950: '#000000',
  },
}
SCSS
$custom: #21897c;
$custom-light: #6eaca1;
$custom-dark: #000000;
JSON
{
  "hex": "#21897c",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 124
  },
  "hsl": {
    "h": 172.5,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.09294,
    "h": 182.6
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#21897C
secondary
#B84E5B
accent
#4458E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #21897C

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

Preview Lab → · Contrast checker → · Palette generator →

#21897C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva