#21897B#21897B

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

Color values

HEX#21897B
RGBrgb(33, 137, 123)
HSLhsl(172, 61%, 33%)
HSVhsv(172, 76%, 54%)
CMYKcmyk(75.9%, 0%, 10.2%, 46.3%)
CIE-LABlab(51.43, -32.07, -0.80)
CIE-LCHlch(51.43, 32.08, 181.43°)
OKLaboklab(56.96% -0.0933 -0.0027)
OKLCHoklch(56.96% 0.093 181.7)
XYZxyz(13.1463, 19.6431, 21.8337)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21897B #89212F
analogous
#218947 #21897B #216389
triadic
#21897B #7B2189 #897B21
tetradic
#21897B #472189 #89212F #638921
square
#21897B #472189 #89212F #638921
split-complementary
#21897B #892163 #894721
monochromatic
#092622 #15584F #21897B #2DBAA7 #50D5C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21897B#FFFFFF#000000##000000
##21897B1.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)
#82817A
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#21897B
secondary
#B84E5C
accent
#4459E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21897B

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

Preview Lab → · Contrast checker → · Palette generator →

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