#21725E#21725E

#21725E is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.8% C 0.083 H 172.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#21725E
RGBrgb(33, 114, 94)
HSLhsl(165, 55%, 29%)
HSVhsv(165, 71%, 45%)
CMYKcmyk(71.1%, 0%, 17.5%, 55.3%)
CIE-LABlab(43.01, -29.33, 4.10)
CIE-LCHlch(43.01, 29.62, 172.05°)
OKLaboklab(49.82% -0.0828 0.0104)
OKLCHoklch(49.82% 0.083 172.9)
XYZxyz(8.6639, 13.1651, 12.6720)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21725E #722135
analogous
#217236 #21725E #215E72
triadic
#21725E #5E2172 #725E21
tetradic
#21725E #362172 #722135 #5E7221
square
#21725E #362172 #722135 #5E7221
split-complementary
#21725E #72215E #723621
monochromatic
#071814 #134337 #21725E #2FA185 #44C9A8

Accessibility & contrast

On white

5.78
#21725E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#21725E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21725E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21725E#FFFFFF#000000##FFFFFF
##21725E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5D
Deuteranopia (green-blind)
#63625F
Tritanopia (blue-blind)
#00736C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21725e;
/* rgb */ color: rgb(33, 114, 94);
/* oklch */ color: oklch(49.8% 0.083 172.9);
Tailwind
colors: {
  custom: {
    50: '#689b8b',
    500: '#21725e',
    950: '#000000',
  },
}
SCSS
$custom: #21725e;
$custom-light: #689b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#21725e",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 94
  },
  "hsl": {
    "h": 165.185,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.08343,
    "h": 172.9
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#21725E
secondary
#A54960
accent
#496EDE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21725E

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

Preview Lab → · Contrast checker → · Palette generator →

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