#21878C#21878C

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

Color values

HEX#21878C
RGBrgb(33, 135, 140)
HSLhsl(183, 62%, 34%)
HSVhsv(183, 76%, 55%)
CMYKcmyk(76.4%, 3.6%, 0%, 45.1%)
CIE-LABlab(51.32, -25.96, -10.88)
CIE-LCHlch(51.32, 28.14, 202.73°)
OKLaboklab(57.05% -0.0832 -0.0302)
OKLCHoklch(57.05% 0.089 200)
XYZxyz(14.0227, 19.5430, 27.8390)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21878C #8C2621
analogous
#218C5C #21878C #21528C
triadic
#21878C #8C2187 #878C21
tetradic
#21878C #5C218C #8C2621 #528C21
square
#21878C #5C218C #8C2621 #528C21
split-complementary
#21878C #8C2152 #8C5C21
monochromatic
#0A2729 #15575A #21878C #2DB7BE #51D0D6

Accessibility & contrast

On white

4.28
#21878C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#21878C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21878C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21878C#FFFFFF#000000##000000
##21878C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21878c;
/* rgb */ color: rgb(33, 135, 140);
/* oklch */ color: oklch(57.0% 0.089 200.0);
Tailwind
colors: {
  custom: {
    50: '#70aaad',
    500: '#21878c',
    950: '#000000',
  },
}
SCSS
$custom: #21878c;
$custom-light: #70aaad;
$custom-dark: #000000;
JSON
{
  "hex": "#21878c",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 140
  },
  "hsl": {
    "h": 182.804,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.08851,
    "h": 200
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#21878C
secondary
#B9544F
accent
#4A43E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #21878C

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

Preview Lab → · Contrast checker → · Palette generator →

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