#21879A#21879A

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

Color values

HEX#21879A
RGBrgb(33, 135, 154)
HSLhsl(189, 65%, 37%)
HSVhsv(189, 79%, 60%)
CMYKcmyk(78.6%, 12.3%, 0%, 39.6%)
CIE-LABlab(51.82, -21.39, -18.26)
CIE-LCHlch(51.82, 28.12, 220.49°)
OKLaboklab(57.62% -0.077 -0.0509)
OKLCHoklch(57.62% 0.092 213.5)
XYZxyz(15.1214, 19.9825, 33.6256)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21879A #9A3421
analogous
#219A71 #21879A #214B9A
triadic
#21879A #9A2187 #879A21
tetradic
#21879A #71219A #9A3421 #4B9A21
square
#21879A #71219A #9A3421 #4B9A21
split-complementary
#21879A #9A214B #9A7121
monochromatic
#0B2F35 #165B68 #21879A #2CB3CC #5AC7DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21879A#FFFFFF#000000##000000
##21879A1.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)
#79829B
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #21879a;
/* rgb */ color: rgb(33, 135, 154);
/* oklch */ color: oklch(57.6% 0.092 213.5);
Tailwind
colors: {
  custom: {
    50: '#71aab7',
    500: '#21879a',
    950: '#000000',
  },
}
SCSS
$custom: #21879a;
$custom-light: #71aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#21879a",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 189.421,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.09235,
    "h": 213.5
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#21879A
secondary
#C06757
accent
#5A40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #21879A

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

Preview Lab → · Contrast checker → · Palette generator →

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