#28878B#28878B

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

Color values

HEX#28878B
RGBrgb(40, 135, 139)
HSLhsl(182, 55%, 35%)
HSVhsv(182, 71%, 55%)
CMYKcmyk(71.2%, 2.9%, 0%, 45.5%)
CIE-LABlab(51.43, -25.35, -10.11)
CIE-LCHlch(51.43, 27.29, 201.74°)
OKLaboklab(57.17% -0.0807 -0.028)
OKLCHoklch(57.17% 0.085 199.2)
XYZxyz(14.1972, 19.6415, 27.4640)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28878B #8B2C28
analogous
#288B5D #28878B #28568B
triadic
#28878B #8B2887 #878B28
tetradic
#28878B #5D288B #8B2C28 #568B28
square
#28878B #5D288B #8B2C28 #568B28
split-complementary
#28878B #8B2856 #8B5D28
monochromatic
#0D2B2C #1A595B #28878B #36B5BB #5DCCD0

Accessibility & contrast

On white

4.26
#28878B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#28878B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28878B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28878B#FFFFFF#000000##000000
##28878B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #28878b;
/* rgb */ color: rgb(40, 135, 139);
/* oklch */ color: oklch(57.2% 0.085 199.2);
Tailwind
colors: {
  custom: {
    50: '#72aaac',
    500: '#28878b',
    950: '#000000',
  },
}
SCSS
$custom: #28878b;
$custom-light: #72aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#28878b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 139
  },
  "hsl": {
    "h": 182.424,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.08545,
    "h": 199.2
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#28878B
secondary
#B65D59
accent
#4F49DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #28878B

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

Preview Lab → · Contrast checker → · Palette generator →

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