#21878E#21878E

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

Color values

HEX#21878E
RGBrgb(33, 135, 142)
HSLhsl(184, 62%, 34%)
HSVhsv(184, 77%, 56%)
CMYKcmyk(76.8%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.38, -25.32, -11.94)
CIE-LCHlch(51.38, 27.99, 205.24°)
OKLaboklab(57.13% -0.0823 -0.0332)
OKLCHoklch(57.13% 0.089 202)
XYZxyz(14.1715, 19.6025, 28.6227)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21878E #8E2821
analogous
#218E5F #21878E #21518E
triadic
#21878E #8E2187 #878E21
tetradic
#21878E #5F218E #8E2821 #518E21
square
#21878E #5F218E #8E2821 #518E21
split-complementary
#21878E #8E2151 #8E5F21
monochromatic
#0A292B #15585C #21878E #2DB6C0 #52CED7

Accessibility & contrast

On white

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

On black

4.92
#21878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21878E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21878E#FFFFFF#000000##000000
##21878E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21878e;
/* rgb */ color: rgb(33, 135, 142);
/* oklch */ color: oklch(57.1% 0.089 202.0);
Tailwind
colors: {
  custom: {
    50: '#70aaaf',
    500: '#21878e',
    950: '#000000',
  },
}
SCSS
$custom: #21878e;
$custom-light: #70aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#21878e",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 183.853,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.08872,
    "h": 202
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#21878E
secondary
#BA5750
accent
#4D42E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #21878E

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

Preview Lab → · Contrast checker → · Palette generator →

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