#21827E#21827E

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

Color values

HEX#21827E
RGBrgb(33, 130, 126)
HSLhsl(178, 60%, 32%)
HSVhsv(178, 75%, 51%)
CMYKcmyk(74.6%, 0%, 3.1%, 49%)
CIE-LABlab(49.24, -27.82, -5.78)
CIE-LCHlch(49.24, 28.41, 191.74°)
OKLaboklab(55.21% -0.0845 -0.0161)
OKLCHoklch(55.21% 0.086 190.8)
XYZxyz(12.3740, 17.7935, 22.5169)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21827E #822125
analogous
#21824E #21827E #215682
triadic
#21827E #7E2182 #827E21
tetradic
#21827E #4E2182 #822125 #568221
square
#21827E #4E2182 #822125 #568221
split-complementary
#21827E #822156 #824E21
monochromatic
#08201F #15514F #21827E #2DB3AD #4CD2CC

Accessibility & contrast

On white

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

On black

4.56
#21827E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21827E#FFFFFF#000000##FFFFFF
##21827E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7E
Deuteranopia (green-blind)
#6C717F
Tritanopia (blue-blind)
#008681
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21827e;
/* rgb */ color: rgb(33, 130, 126);
/* oklch */ color: oklch(55.2% 0.086 190.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a3',
    500: '#21827e',
    950: '#000000',
  },
}
SCSS
$custom: #21827e;
$custom-light: #6da7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21827e",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 126
  },
  "hsl": {
    "h": 177.526,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.08599,
    "h": 190.8
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#21827E
secondary
#B44A4F
accent
#454CE3
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21827E

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

Preview Lab → · Contrast checker → · Palette generator →

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