#21504E#21504E

#21504E is a dark, muted teal. Relative luminance 0.066; OKLCH L 39.8% C 0.051 H 191.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#21504E
RGBrgb(33, 80, 78)
HSLhsl(177, 42%, 22%)
HSVhsv(177, 59%, 31%)
CMYKcmyk(58.8%, 0%, 2.5%, 68.6%)
CIE-LABlab(30.90, -16.45, -3.68)
CIE-LCHlch(30.90, 16.86, 192.61°)
OKLaboklab(39.82% -0.0501 -0.0102)
OKLCHoklch(39.82% 0.051 191.5)
XYZxyz(4.8704, 6.6102, 8.2255)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21504E #502123
analogous
#215037 #21504E #213B50
triadic
#21504E #4E2150 #504E21
tetradic
#21504E #372150 #502123 #3B5021
square
#21504E #372150 #502123 #3B5021
split-complementary
#21504E #50213B #503721
monochromatic
#091615 #0F2524 #21504E #337B78 #45A7A2

Accessibility & contrast

On white

9.04
#21504E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#21504E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21504E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21504E#FFFFFF#000000##FFFFFF
##21504E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4E
Deuteranopia (green-blind)
#44464E
Tritanopia (blue-blind)
#00524F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21504e;
/* rgb */ color: rgb(33, 80, 78);
/* oklch */ color: oklch(39.8% 0.051 191.5);
Tailwind
colors: {
  custom: {
    50: '#62817f',
    500: '#21504e',
    950: '#000000',
  },
}
SCSS
$custom: #21504e;
$custom-light: #62817f;
$custom-dark: #000000;
JSON
{
  "hex": "#21504e",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 78
  },
  "hsl": {
    "h": 177.447,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.05115,
    "h": 191.5
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#21504E
secondary
#84494B
accent
#565CD1
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#050A0A
muted
#7A7C7C

Preview Lab

Preview with #21504E

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

Preview Lab → · Contrast checker → · Palette generator →

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