#28877B#28877B

#28877B is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.088 H 183.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#28877B
RGBrgb(40, 135, 123)
HSLhsl(172, 54%, 34%)
HSVhsv(172, 70%, 53%)
CMYKcmyk(70.4%, 0%, 8.9%, 47.1%)
CIE-LABlab(50.93, -30.13, -1.52)
CIE-LCHlch(50.93, 30.17, 182.89°)
OKLaboklab(56.6% -0.0883 -0.0046)
OKLCHoklch(56.6% 0.088 183)
XYZxyz(13.1125, 19.2076, 21.7514)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28877B #872834
analogous
#28874C #28877B #286487
triadic
#28877B #7B2887 #877B28
tetradic
#28877B #4C2887 #872834 #648728
square
#28877B #4C2887 #872834 #648728
split-complementary
#28877B #872864 #874C28
monochromatic
#0C2925 #1A5850 #28877B #36B6A6 #5BCEC0

Accessibility & contrast

On white

4.34
#28877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#28877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28877B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28877B#FFFFFF#000000##000000
##28877B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7B
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #28877b;
/* rgb */ color: rgb(40, 135, 123);
/* oklch */ color: oklch(56.6% 0.088 183.0);
Tailwind
colors: {
  custom: {
    50: '#70aaa1',
    500: '#28877b',
    950: '#000000',
  },
}
SCSS
$custom: #28877b;
$custom-light: #70aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#28877b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 172.421,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.08838,
    "h": 183
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#28877B
secondary
#B45763
accent
#4A5DDE
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #28877B

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

Preview Lab → · Contrast checker → · Palette generator →

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