#21897E#21897E

#21897E is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.1% C 0.092 H 184.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#21897E
RGBrgb(33, 137, 126)
HSLhsl(174, 61%, 33%)
HSVhsv(174, 76%, 54%)
CMYKcmyk(75.9%, 0%, 8%, 46.3%)
CIE-LABlab(51.52, -31.21, -2.42)
CIE-LCHlch(51.52, 31.30, 184.43°)
OKLaboklab(57.06% -0.0919 -0.007)
OKLCHoklch(57.06% 0.092 184.4)
XYZxyz(13.3369, 19.7194, 22.8379)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21897E #89212C
analogous
#21894A #21897E #216089
triadic
#21897E #7E2189 #897E21
tetradic
#21897E #4A2189 #89212C #608921
square
#21897E #4A2189 #89212C #608921
split-complementary
#21897E #892160 #894A21
monochromatic
#092623 #155851 #21897E #2DBAAB #50D5C7

Accessibility & contrast

On white

4.25
#21897E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#21897E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21897E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21897E#FFFFFF#000000##000000
##21897E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21897e;
/* rgb */ color: rgb(33, 137, 126);
/* oklch */ color: oklch(57.1% 0.092 184.4);
Tailwind
colors: {
  custom: {
    50: '#6eaca3',
    500: '#21897e',
    950: '#000000',
  },
}
SCSS
$custom: #21897e;
$custom-light: #6eaca3;
$custom-dark: #000000;
JSON
{
  "hex": "#21897e",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 126
  },
  "hsl": {
    "h": 173.654,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.09215,
    "h": 184.4
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#21897E
secondary
#B84E59
accent
#4455E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #21897E

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

Preview Lab → · Contrast checker → · Palette generator →

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