#21878A#21878A

#21878A is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.088 H 198.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#21878A
RGBrgb(33, 135, 138)
HSLhsl(182, 61%, 34%)
HSVhsv(182, 76%, 54%)
CMYKcmyk(76.1%, 2.2%, 0%, 45.9%)
CIE-LABlab(51.25, -26.59, -9.81)
CIE-LCHlch(51.25, 28.34, 200.25°)
OKLaboklab(56.97% -0.0841 -0.0273)
OKLCHoklch(56.97% 0.088 198)
XYZxyz(13.8765, 19.4846, 27.0694)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21878A #8A2421
analogous
#218A58 #21878A #21528A
triadic
#21878A #8A2187 #878A21
tetradic
#21878A #58218A #8A2421 #528A21
square
#21878A #58218A #8A2421 #528A21
split-complementary
#21878A #8A2152 #8A5821
monochromatic
#092627 #155759 #21878A #2DB7BB #50D1D5

Accessibility & contrast

On white

4.29
#21878A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#21878A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21878A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21878A#FFFFFF#000000##000000
##21878A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D808A
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #21878a;
/* rgb */ color: rgb(33, 135, 138);
/* oklch */ color: oklch(57.0% 0.088 198.0);
Tailwind
colors: {
  custom: {
    50: '#6faaac',
    500: '#21878a',
    950: '#000000',
  },
}
SCSS
$custom: #21878a;
$custom-light: #6faaac;
$custom-dark: #000000;
JSON
{
  "hex": "#21878a",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 138
  },
  "hsl": {
    "h": 181.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.08842,
    "h": 198
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#21878A
secondary
#B9514E
accent
#4843E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #21878A

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

Preview Lab → · Contrast checker → · Palette generator →

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