#21798A#21798A

#21798A is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.083 H 213.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#21798A
RGBrgb(33, 121, 138)
HSLhsl(190, 61%, 34%)
HSVhsv(190, 76%, 54%)
CMYKcmyk(76.1%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.75, -19.30, -16.61)
CIE-LCHlch(46.75, 25.47, 220.72°)
OKLaboklab(53.34% -0.0695 -0.0463)
OKLCHoklch(53.34% 0.083 213.7)
XYZxyz(12.0501, 15.8316, 26.4606)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21798A #8A3221
analogous
#218A66 #21798A #21448A
triadic
#21798A #8A2179 #798A21
tetradic
#21798A #66218A #8A3221 #448A21
square
#21798A #66218A #8A3221 #448A21
split-complementary
#21798A #8A2144 #8A6621
monochromatic
#092227 #154E59 #21798A #2DA4BB #50C0D5

Accessibility & contrast

On white

5.04
#21798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#21798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21798A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21798A#FFFFFF#000000##FFFFFF
##21798A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21798a;
/* rgb */ color: rgb(33, 121, 138);
/* oklch */ color: oklch(53.3% 0.083 213.7);
Tailwind
colors: {
  custom: {
    50: '#6ea0ac',
    500: '#21798a',
    950: '#000000',
  },
}
SCSS
$custom: #21798a;
$custom-light: #6ea0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21798a",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 189.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.08349,
    "h": 213.7
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#21798A
secondary
#B95F4E
accent
#5D43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21798A

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

Preview Lab → · Contrast checker → · Palette generator →

#21798A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva