#21878B#21878B

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

Color values

HEX#21878B
RGBrgb(33, 135, 139)
HSLhsl(182, 62%, 34%)
HSVhsv(182, 76%, 55%)
CMYKcmyk(76.3%, 2.9%, 0%, 45.5%)
CIE-LABlab(51.28, -26.27, -10.34)
CIE-LCHlch(51.28, 28.24, 201.49°)
OKLaboklab(57.01% -0.0836 -0.0287)
OKLCHoklch(57.01% 0.088 199)
XYZxyz(13.9493, 19.5137, 27.4524)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21878B #8B2521
analogous
#218B5A #21878B #21528B
triadic
#21878B #8B2187 #878B21
tetradic
#21878B #5A218B #8B2521 #528B21
square
#21878B #5A218B #8B2521 #528B21
split-complementary
#21878B #8B2152 #8B5A21
monochromatic
#0A2728 #15575A #21878B #2DB7BC #51D1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21878B#FFFFFF#000000##000000
##21878B1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21878b;
/* rgb */ color: rgb(33, 135, 139);
/* oklch */ color: oklch(57.0% 0.088 199.0);
Tailwind
colors: {
  custom: {
    50: '#6faaac',
    500: '#21878b',
    950: '#000000',
  },
}
SCSS
$custom: #21878b;
$custom-light: #6faaac;
$custom-dark: #000000;
JSON
{
  "hex": "#21878b",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 139
  },
  "hsl": {
    "h": 182.264,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.08845,
    "h": 199
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#21878B
secondary
#B9534F
accent
#4943E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #21878B

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

Preview Lab → · Contrast checker → · Palette generator →

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