#28787B#28787B

#28787B is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.076 H 198.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#28787B
RGBrgb(40, 120, 123)
HSLhsl(182, 51%, 32%)
HSVhsv(182, 67%, 48%)
CMYKcmyk(67.5%, 2.4%, 0%, 51.8%)
CIE-LABlab(46.06, -22.62, -8.74)
CIE-LCHlch(46.06, 24.25, 201.12°)
OKLaboklab(52.65% -0.0717 -0.0242)
OKLCHoklch(52.65% 0.076 198.7)
XYZxyz(11.1651, 15.3129, 21.1023)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28787B #7B2B28
analogous
#287B55 #28787B #284F7B
triadic
#28787B #7B2878 #787B28
tetradic
#28787B #55287B #7B2B28 #4F7B28
square
#28787B #55287B #7B2B28 #4F7B28
split-complementary
#28787B #7B284F #7B5528
monochromatic
#0A1E1F #194B4D #28787B #37A5A9 #56C4C8

Accessibility & contrast

On white

5.17
#28787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#28787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28787B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28787B#FFFFFF#000000##FFFFFF
##28787B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727B
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28787b;
/* rgb */ color: rgb(40, 120, 123);
/* oklch */ color: oklch(52.6% 0.076 198.7);
Tailwind
colors: {
  custom: {
    50: '#6e9fa1',
    500: '#28787b',
    950: '#000000',
  },
}
SCSS
$custom: #28787b;
$custom-light: #6e9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#28787b",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.169,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.07571,
    "h": 198.7
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#28787B
secondary
#AD5552
accent
#524DDA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #28787B

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

Preview Lab → · Contrast checker → · Palette generator →

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