#28877C#28877C

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

Color values

HEX#28877C
RGBrgb(40, 135, 124)
HSLhsl(173, 54%, 34%)
HSVhsv(173, 70%, 53%)
CMYKcmyk(70.4%, 0%, 8.1%, 47.1%)
CIE-LABlab(50.96, -29.85, -2.06)
CIE-LCHlch(50.96, 29.92, 183.95°)
OKLaboklab(56.63% -0.0878 -0.006)
OKLCHoklch(56.63% 0.088 183.9)
XYZxyz(13.1754, 19.2328, 22.0828)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28877C #872833
analogous
#28874D #28877C #286387
triadic
#28877C #7C2887 #877C28
tetradic
#28877C #4D2887 #872833 #638728
square
#28877C #4D2887 #872833 #638728
split-complementary
#28877C #872863 #874D28
monochromatic
#0C2925 #1A5851 #28877C #36B6A7 #5BCEC1

Accessibility & contrast

On white

4.33
#28877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#28877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28877C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28877C#FFFFFF#000000##000000
##28877C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#73757D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #28877c;
/* rgb */ color: rgb(40, 135, 124);
/* oklch */ color: oklch(56.6% 0.088 183.9);
Tailwind
colors: {
  custom: {
    50: '#70aaa1',
    500: '#28877c',
    950: '#000000',
  },
}
SCSS
$custom: #28877c;
$custom-light: #70aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#28877c",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 173.053,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.08798,
    "h": 183.9
  },
  "luminance": 0.19234
}

Semantic roles & 50–950 ramp

primary
#28877C
secondary
#B45762
accent
#4A5BDE
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #28877C

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

Preview Lab → · Contrast checker → · Palette generator →

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