#21827B#21827B

#21827B is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.087 H 187.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#21827B
RGBrgb(33, 130, 123)
HSLhsl(176, 60%, 32%)
HSVhsv(176, 75%, 51%)
CMYKcmyk(74.6%, 0%, 5.4%, 49%)
CIE-LABlab(49.15, -28.72, -4.16)
CIE-LCHlch(49.15, 29.02, 188.23°)
OKLaboklab(55.11% -0.0859 -0.0117)
OKLCHoklch(55.11% 0.087 187.8)
XYZxyz(12.1833, 17.7172, 21.5127)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21827B #822128
analogous
#21824B #21827B #215982
triadic
#21827B #7B2182 #827B21
tetradic
#21827B #4B2182 #822128 #598221
square
#21827B #4B2182 #822128 #598221
split-complementary
#21827B #822159 #824B21
monochromatic
#08201F #15514D #21827B #2DB3A9 #4CD2C8

Accessibility & contrast

On white

4.62
#21827B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#21827B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21827B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21827B#FFFFFF#000000##FFFFFF
##21827B1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7B
Deuteranopia (green-blind)
#6D717C
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21827b;
/* rgb */ color: rgb(33, 130, 123);
/* oklch */ color: oklch(55.1% 0.087 187.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a1',
    500: '#21827b',
    950: '#000000',
  },
}
SCSS
$custom: #21827b;
$custom-light: #6da7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21827b",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 123
  },
  "hsl": {
    "h": 175.67,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.0867,
    "h": 187.8
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#21827B
secondary
#B44A52
accent
#4550E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #21827B

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

Preview Lab → · Contrast checker → · Palette generator →

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