#21867A#21867A

#21867A is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.1% C 0.091 H 183.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#21867A
RGBrgb(33, 134, 122)
HSLhsl(173, 60%, 33%)
HSVhsv(173, 75%, 53%)
CMYKcmyk(75.4%, 0%, 9%, 47.5%)
CIE-LABlab(50.43, -30.94, -1.69)
CIE-LCHlch(50.43, 30.99, 183.13°)
OKLaboklab(56.13% -0.0906 -0.0051)
OKLCHoklch(56.13% 0.091 183.2)
XYZxyz(12.6634, 18.7772, 21.3655)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21867A #86212D
analogous
#218647 #21867A #216086
triadic
#21867A #7A2186 #867A21
tetradic
#21867A #472186 #86212D #608621
square
#21867A #472186 #86212D #608621
split-complementary
#21867A #862160 #864721
monochromatic
#092421 #15554D #21867A #2DB7A7 #4ED3C4

Accessibility & contrast

On white

4.42
#21867A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#21867A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21867A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21867A#FFFFFF#000000##000000
##21867A1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7A
Deuteranopia (green-blind)
#71747B
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #21867a;
/* rgb */ color: rgb(33, 134, 122);
/* oklch */ color: oklch(56.1% 0.091 183.2);
Tailwind
colors: {
  custom: {
    50: '#6eaaa0',
    500: '#21867a',
    950: '#000000',
  },
}
SCSS
$custom: #21867a;
$custom-light: #6eaaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#21867a",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 122
  },
  "hsl": {
    "h": 172.871,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.09079,
    "h": 183.2
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#21867A
secondary
#B74C59
accent
#4457E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21867A

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

Preview Lab → · Contrast checker → · Palette generator →

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