#28878E#28878E

#28878E is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.3% C 0.086 H 202.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#28878E
RGBrgb(40, 135, 142)
HSLhsl(184, 56%, 36%)
HSVhsv(184, 72%, 56%)
CMYKcmyk(71.8%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.53, -24.41, -11.70)
CIE-LCHlch(51.53, 27.07, 205.61°)
OKLaboklab(57.29% -0.0794 -0.0325)
OKLCHoklch(57.29% 0.086 202.3)
XYZxyz(14.4194, 19.7304, 28.6343)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28878E #8E2F28
analogous
#288E62 #28878E #28548E
triadic
#28878E #8E2887 #878E28
tetradic
#28878E #62288E #8E2F28 #548E28
square
#28878E #62288E #8E2F28 #548E28
split-complementary
#28878E #8E2854 #8E6228
monochromatic
#0D2C2F #1B5A5E #28878E #35B4BE #5FCAD2

Accessibility & contrast

On white

4.25
#28878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#28878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28878E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28878E#FFFFFF#000000##000000
##28878E1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818F
Deuteranopia (green-blind)
#6E768E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #28878e;
/* rgb */ color: rgb(40, 135, 142);
/* oklch */ color: oklch(57.3% 0.086 202.3);
Tailwind
colors: {
  custom: {
    50: '#72aaaf',
    500: '#28878e',
    950: '#000000',
  },
}
SCSS
$custom: #28878e;
$custom-light: #72aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#28878e",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.08575,
    "h": 202.3
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#28878E
secondary
#B7615B
accent
#5348DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #28878E

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

Preview Lab → · Contrast checker → · Palette generator →

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