#21827D#21827D

#21827D is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.2% C 0.086 H 189.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#21827D
RGBrgb(33, 130, 125)
HSLhsl(177, 60%, 32%)
HSVhsv(177, 75%, 51%)
CMYKcmyk(74.6%, 0%, 3.8%, 49%)
CIE-LABlab(49.21, -28.12, -5.24)
CIE-LCHlch(49.21, 28.60, 190.56°)
OKLaboklab(55.18% -0.0849 -0.0147)
OKLCHoklch(55.18% 0.086 189.8)
XYZxyz(12.3098, 17.7678, 22.1788)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21827D #822126
analogous
#21824D #21827D #215782
triadic
#21827D #7D2182 #827D21
tetradic
#21827D #4D2182 #822126 #578221
square
#21827D #4D2182 #822126 #578221
split-complementary
#21827D #822157 #824D21
monochromatic
#08201F #15514E #21827D #2DB3AC #4CD2CB

Accessibility & contrast

On white

4.61
#21827D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#21827D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21827D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21827D#FFFFFF#000000##FFFFFF
##21827D1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7D
Deuteranopia (green-blind)
#6C717E
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21827d;
/* rgb */ color: rgb(33, 130, 125);
/* oklch */ color: oklch(55.2% 0.086 189.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a2',
    500: '#21827d',
    950: '#000000',
  },
}
SCSS
$custom: #21827d;
$custom-light: #6da7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21827d",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 125
  },
  "hsl": {
    "h": 176.907,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.0862,
    "h": 189.8
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#21827D
secondary
#B44A50
accent
#454DE3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #21827D

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

Preview Lab → · Contrast checker → · Palette generator →

#21827D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva