#28878F#28878F

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

Color values

HEX#28878F
RGBrgb(40, 135, 143)
HSLhsl(185, 56%, 36%)
HSVhsv(185, 72%, 56%)
CMYKcmyk(72%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.57, -24.10, -12.23)
CIE-LCHlch(51.57, 27.02, 206.92°)
OKLaboklab(57.33% -0.0789 -0.034)
OKLCHoklch(57.33% 0.086 203.3)
XYZxyz(14.4948, 19.7605, 29.0315)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28878F #8F3028
analogous
#288F63 #28878F #28538F
triadic
#28878F #8F2887 #878F28
tetradic
#28878F #63288F #8F3028 #538F28
square
#28878F #63288F #8F3028 #538F28
split-complementary
#28878F #8F2853 #8F6328
monochromatic
#0D2D2F #1B5A5F #28878F #35B4BF #5FC9D2

Accessibility & contrast

On white

4.24
#28878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28878F#FFFFFF#000000##000000
##28878F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8190
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #28878f;
/* rgb */ color: rgb(40, 135, 143);
/* oklch */ color: oklch(57.3% 0.086 203.3);
Tailwind
colors: {
  custom: {
    50: '#72aaaf',
    500: '#28878f',
    950: '#000000',
  },
}
SCSS
$custom: #28878f;
$custom-light: #72aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#28878f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 184.66,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.08592,
    "h": 203.3
  },
  "luminance": 0.19762
}

Semantic roles & 50–950 ramp

primary
#28878F
secondary
#B8625B
accent
#5448E0
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #28878F

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

Preview Lab → · Contrast checker → · Palette generator →

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