#28787F#28787F

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

Color values

HEX#28787F
RGBrgb(40, 120, 127)
HSLhsl(185, 52%, 33%)
HSVhsv(185, 69%, 50%)
CMYKcmyk(68.5%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.20, -21.36, -10.91)
CIE-LCHlch(46.20, 23.99, 207.06°)
OKLaboklab(52.8% -0.0699 -0.0303)
OKLCHoklch(52.8% 0.076 203.4)
XYZxyz(11.4207, 15.4151, 22.4481)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28787F #7F2F28
analogous
#287F5B #28787F #284C7F
triadic
#28787F #7F2878 #787F28
tetradic
#28787F #5B287F #7F2F28 #4C7F28
square
#28787F #5B287F #7F2F28 #4C7F28
split-complementary
#28787F #7F284C #7F5B28
monochromatic
#0B2022 #194C50 #28787F #37A4AE #57C1CA

Accessibility & contrast

On white

5.14
#28787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#28787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28787F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28787F#FFFFFF#000000##FFFFFF
##28787F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#62697F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28787f;
/* rgb */ color: rgb(40, 120, 127);
/* oklch */ color: oklch(52.8% 0.076 203.4);
Tailwind
colors: {
  custom: {
    50: '#6f9fa4',
    500: '#28787f',
    950: '#000000',
  },
}
SCSS
$custom: #28787f;
$custom-light: #6f9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#28787f",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.828,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.07616,
    "h": 203.4
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#28787F
secondary
#AF5B54
accent
#584CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #28787F

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

Preview Lab → · Contrast checker → · Palette generator →

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