#21867B#21867B

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

Color values

HEX#21867B
RGBrgb(33, 134, 123)
HSLhsl(173, 60%, 33%)
HSVhsv(173, 75%, 53%)
CMYKcmyk(75.4%, 0%, 8.2%, 47.5%)
CIE-LABlab(50.45, -30.65, -2.23)
CIE-LCHlch(50.45, 30.73, 184.17°)
OKLaboklab(56.17% -0.0902 -0.0065)
OKLCHoklch(56.17% 0.09 184.1)
XYZxyz(12.7257, 18.8021, 21.6935)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21867B #86212C
analogous
#218648 #21867B #215F86
triadic
#21867B #7B2186 #867B21
tetradic
#21867B #482186 #86212C #5F8621
square
#21867B #482186 #86212C #5F8621
split-complementary
#21867B #86215F #864821
monochromatic
#092421 #15554E #21867B #2DB7A8 #4ED3C5

Accessibility & contrast

On white

4.41
#21867B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21867B#FFFFFF#000000##000000
##21867B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21867b;
/* rgb */ color: rgb(33, 134, 123);
/* oklch */ color: oklch(56.2% 0.090 184.1);
Tailwind
colors: {
  custom: {
    50: '#6eaaa1',
    500: '#21867b',
    950: '#000000',
  },
}
SCSS
$custom: #21867b;
$custom-light: #6eaaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21867b",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 123
  },
  "hsl": {
    "h": 173.465,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.0904,
    "h": 184.1
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#21867B
secondary
#B74C58
accent
#4456E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21867B

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

Preview Lab → · Contrast checker → · Palette generator →

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