#21817E#21817E

#21817E is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.085 H 191.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#21817E
RGBrgb(33, 129, 126)
HSLhsl(178, 59%, 32%)
HSVhsv(178, 74%, 51%)
CMYKcmyk(74.4%, 0%, 2.3%, 49.4%)
CIE-LABlab(48.92, -27.32, -6.26)
CIE-LCHlch(48.92, 28.03, 192.91°)
OKLaboklab(54.95% -0.0834 -0.0175)
OKLCHoklch(54.95% 0.085 191.8)
XYZxyz(12.2416, 17.5287, 22.4728)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21817E #812124
analogous
#21814E #21817E #215481
triadic
#21817E #7E2181 #817E21
tetradic
#21817E #4E2181 #812124 #548121
square
#21817E #4E2181 #812124 #548121
split-complementary
#21817E #812154 #814E21
monochromatic
#08201F #15504E #21817E #2DB2AE #4BD1CD

Accessibility & contrast

On white

4.66
#21817E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#21817E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21817E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21817E#FFFFFF#000000##FFFFFF
##21817E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21817e;
/* rgb */ color: rgb(33, 129, 126);
/* oklch */ color: oklch(54.9% 0.085 191.8);
Tailwind
colors: {
  custom: {
    50: '#6da6a3',
    500: '#21817e',
    950: '#000000',
  },
}
SCSS
$custom: #21817e;
$custom-light: #6da6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21817e",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 178.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.08521,
    "h": 191.8
  },
  "luminance": 0.1753
}

Semantic roles & 50–950 ramp

primary
#21817E
secondary
#B44A4E
accent
#454AE2
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21817E

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

Preview Lab → · Contrast checker → · Palette generator →

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