#21847F#21847F

#21847F is a mid, moderate teal. Relative luminance 0.184; OKLCH L 55.8% C 0.087 H 189.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#21847F
RGBrgb(33, 132, 127)
HSLhsl(177, 60%, 32%)
HSVhsv(177, 75%, 52%)
CMYKcmyk(75%, 0%, 3.8%, 48.2%)
CIE-LABlab(49.93, -28.50, -5.36)
CIE-LCHlch(49.93, 28.99, 190.65°)
OKLaboklab(55.78% -0.0861 -0.015)
OKLCHoklch(55.78% 0.087 189.9)
XYZxyz(12.7074, 18.3566, 22.9480)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21847F #842126
analogous
#21844E #21847F #215784
triadic
#21847F #7F2184 #847F21
tetradic
#21847F #4E2184 #842126 #578421
square
#21847F #4E2184 #842126 #578421
split-complementary
#21847F #842157 #844E21
monochromatic
#092221 #155350 #21847F #2DB5AE #4DD2CC

Accessibility & contrast

On white

4.50
#21847F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#21847F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21847F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21847F#FFFFFF#000000##000000
##21847F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7D7F
Deuteranopia (green-blind)
#6E7280
Tritanopia (blue-blind)
#008882
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21847f;
/* rgb */ color: rgb(33, 132, 127);
/* oklch */ color: oklch(55.8% 0.087 189.9);
Tailwind
colors: {
  custom: {
    50: '#6ea8a4',
    500: '#21847f',
    950: '#000000',
  },
}
SCSS
$custom: #21847f;
$custom-light: #6ea8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21847f",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 127
  },
  "hsl": {
    "h": 176.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.08741,
    "h": 189.9
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#21847F
secondary
#B64B51
accent
#454DE3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21847F

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

Preview Lab → · Contrast checker → · Palette generator →

#21847F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva