#28787C#28787C

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

Color values

HEX#28787C
RGBrgb(40, 120, 124)
HSLhsl(183, 51%, 32%)
HSVhsv(183, 68%, 49%)
CMYKcmyk(67.7%, 3.2%, 0%, 51.4%)
CIE-LABlab(46.09, -22.31, -9.29)
CIE-LCHlch(46.09, 24.17, 202.60°)
OKLaboklab(52.68% -0.0713 -0.0257)
OKLCHoklch(52.68% 0.076 199.9)
XYZxyz(11.2280, 15.3380, 21.4337)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28787C #7C2C28
analogous
#287C56 #28787C #284E7C
triadic
#28787C #7C2878 #787C28
tetradic
#28787C #56287C #7C2C28 #4E7C28
square
#28787C #56287C #7C2C28 #4E7C28
split-complementary
#28787C #7C284E #7C5628
monochromatic
#0A1E1F #194B4E #28787C #37A5AA #56C3C8

Accessibility & contrast

On white

5.16
#28787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#28787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28787C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28787C#FFFFFF#000000##FFFFFF
##28787C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28787c;
/* rgb */ color: rgb(40, 120, 124);
/* oklch */ color: oklch(52.7% 0.076 199.9);
Tailwind
colors: {
  custom: {
    50: '#6e9fa1',
    500: '#28787c',
    950: '#000000',
  },
}
SCSS
$custom: #28787c;
$custom-light: #6e9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#28787c",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.07577,
    "h": 199.9
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#28787C
secondary
#AD5752
accent
#544DDB
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #28787C

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

Preview Lab → · Contrast checker → · Palette generator →

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