#21878F#21878F

#21878F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.2% C 0.089 H 202.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#21878F
RGBrgb(33, 135, 143)
HSLhsl(184, 63%, 35%)
HSVhsv(184, 77%, 56%)
CMYKcmyk(76.9%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.42, -25.00, -12.47)
CIE-LCHlch(51.42, 27.94, 206.51°)
OKLaboklab(57.17% -0.0818 -0.0346)
OKLCHoklch(57.17% 0.089 202.9)
XYZxyz(14.2469, 19.6327, 29.0199)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21878F #8F2921
analogous
#218F60 #21878F #21508F
triadic
#21878F #8F2187 #878F21
tetradic
#21878F #60218F #8F2921 #508F21
square
#21878F #60218F #8F2921 #508F21
split-complementary
#21878F #8F2150 #8F6021
monochromatic
#0A292C #16585D #21878F #2CB6C1 #53CED7

Accessibility & contrast

On white

4.26
#21878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#21878F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21878F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21878F#FFFFFF#000000##000000
##21878F1.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)
#7C8190
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #21878f;
/* rgb */ color: rgb(33, 135, 143);
/* oklch */ color: oklch(57.2% 0.089 202.9);
Tailwind
colors: {
  custom: {
    50: '#70aaaf',
    500: '#21878f',
    950: '#000000',
  },
}
SCSS
$custom: #21878f;
$custom-light: #70aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#21878f",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 184.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.08887,
    "h": 202.9
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#21878F
secondary
#BB5951
accent
#4E42E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #21878F

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

Preview Lab → · Contrast checker → · Palette generator →

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