#28878A#28878A

#28878A is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.085 H 198.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#28878A
RGBrgb(40, 135, 138)
HSLhsl(182, 55%, 35%)
HSVhsv(182, 71%, 54%)
CMYKcmyk(71%, 2.2%, 0%, 45.9%)
CIE-LABlab(51.40, -25.66, -9.58)
CIE-LCHlch(51.40, 27.39, 200.46°)
OKLaboklab(57.13% -0.0812 -0.0266)
OKLCHoklch(57.13% 0.085 198.1)
XYZxyz(14.1244, 19.6124, 27.0810)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28878A #8A2B28
analogous
#288A5C #28878A #28568A
triadic
#28878A #8A2887 #878A28
tetradic
#28878A #5C288A #8A2B28 #568A28
square
#28878A #5C288A #8A2B28 #568A28
split-complementary
#28878A #8A2856 #8A5C28
monochromatic
#0C2A2B #1A595B #28878A #36B5B9 #5DCCD0

Accessibility & contrast

On white

4.27
#28878A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#28878A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28878A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28878A#FFFFFF#000000##000000
##28878A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818A
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #28878a;
/* rgb */ color: rgb(40, 135, 138);
/* oklch */ color: oklch(57.1% 0.085 198.1);
Tailwind
colors: {
  custom: {
    50: '#72aaac',
    500: '#28878a',
    950: '#000000',
  },
}
SCSS
$custom: #28878a;
$custom-light: #72aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#28878a",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 138
  },
  "hsl": {
    "h": 181.837,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.08542,
    "h": 198.1
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#28878A
secondary
#B55B59
accent
#4E49DE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #28878A

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

Preview Lab → · Contrast checker → · Palette generator →

#28878A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva