#21878D#21878D

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

Color values

HEX#21878D
RGBrgb(33, 135, 141)
HSLhsl(183, 62%, 34%)
HSVhsv(183, 77%, 55%)
CMYKcmyk(76.6%, 4.3%, 0%, 44.7%)
CIE-LABlab(51.35, -25.64, -11.41)
CIE-LCHlch(51.35, 28.06, 203.98°)
OKLaboklab(57.09% -0.0827 -0.0317)
OKLCHoklch(57.09% 0.089 201)
XYZxyz(14.0967, 19.5727, 28.2291)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21878D #8D2721
analogous
#218D5D #21878D #21518D
triadic
#21878D #8D2187 #878D21
tetradic
#21878D #5D218D #8D2721 #518D21
square
#21878D #5D218D #8D2721 #518D21
split-complementary
#21878D #8D2151 #8D5D21
monochromatic
#0A282A #15585B #21878D #2DB6BF #52CFD6

Accessibility & contrast

On white

4.27
#21878D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21878D#FFFFFF#000000##000000
##21878D1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21878d;
/* rgb */ color: rgb(33, 135, 141);
/* oklch */ color: oklch(57.1% 0.089 201.0);
Tailwind
colors: {
  custom: {
    50: '#70aaae',
    500: '#21878d',
    950: '#000000',
  },
}
SCSS
$custom: #21878d;
$custom-light: #70aaae;
$custom-dark: #000000;
JSON
{
  "hex": "#21878d",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 141
  },
  "hsl": {
    "h": 183.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.0886,
    "h": 201
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#21878D
secondary
#BA5650
accent
#4C43E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #21878D

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

Preview Lab → · Contrast checker → · Palette generator →

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