#28787D#28787D

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

Color values

HEX#28787D
RGBrgb(40, 120, 125)
HSLhsl(184, 52%, 32%)
HSVhsv(184, 68%, 49%)
CMYKcmyk(68%, 4%, 0%, 51%)
CIE-LABlab(46.13, -22.00, -9.83)
CIE-LCHlch(46.13, 24.09, 204.08°)
OKLaboklab(52.72% -0.0708 -0.0272)
OKLCHoklch(52.72% 0.076 201.1)
XYZxyz(11.2916, 15.3635, 21.7684)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28787D #7D2D28
analogous
#287D57 #28787D #284E7D
triadic
#28787D #7D2878 #787D28
tetradic
#28787D #57287D #7D2D28 #4E7D28
square
#28787D #57287D #7D2D28 #4E7D28
split-complementary
#28787D #7D284E #7D5728
monochromatic
#0A1F20 #194B4F #28787D #37A5AB #56C2C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28787D#FFFFFF#000000##FFFFFF
##28787D1.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)
#6F737D
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28787d;
/* rgb */ color: rgb(40, 120, 125);
/* oklch */ color: oklch(52.7% 0.076 201.1);
Tailwind
colors: {
  custom: {
    50: '#6e9fa2',
    500: '#28787d',
    950: '#000000',
  },
}
SCSS
$custom: #28787d;
$custom-light: #6e9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#28787d",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 183.529,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.07586,
    "h": 201.1
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#28787D
secondary
#AE5853
accent
#554DDB
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #28787D

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

Preview Lab → · Contrast checker → · Palette generator →

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