#21879B#21879B

#21879B is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.7% C 0.093 H 214.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#21879B
RGBrgb(33, 135, 155)
HSLhsl(190, 65%, 37%)
HSVhsv(190, 79%, 61%)
CMYKcmyk(78.7%, 12.9%, 0%, 39.2%)
CIE-LABlab(51.86, -21.05, -18.78)
CIE-LCHlch(51.86, 28.21, 221.74°)
OKLaboklab(57.66% -0.0766 -0.0524)
OKLCHoklch(57.66% 0.093 214.4)
XYZxyz(15.2050, 20.0160, 34.0661)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21879B #9B3521
analogous
#219B72 #21879B #214A9B
triadic
#21879B #9B2187 #879B21
tetradic
#21879B #72219B #9B3521 #4A9B21
square
#21879B #72219B #9B3521 #4A9B21
split-complementary
#21879B #9B214A #9B7221
monochromatic
#0C2F36 #165B69 #21879B #2CB3CD #5AC7DC

Accessibility & contrast

On white

4.20
#21879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#21879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21879B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21879B#FFFFFF#000000##000000
##21879B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79829C
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#008F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #21879b;
/* rgb */ color: rgb(33, 135, 155);
/* oklch */ color: oklch(57.7% 0.093 214.4);
Tailwind
colors: {
  custom: {
    50: '#71aab8',
    500: '#21879b',
    950: '#000000',
  },
}
SCSS
$custom: #21879b;
$custom-light: #71aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#21879b",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 189.836,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.09283,
    "h": 214.4
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#21879B
secondary
#C06958
accent
#5B40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #21879B

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

Preview Lab → · Contrast checker → · Palette generator →

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