#28797F#28797F

#28797F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.077 H 202.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#28797F
RGBrgb(40, 121, 127)
HSLhsl(184, 52%, 33%)
HSVhsv(184, 69%, 50%)
CMYKcmyk(68.5%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.52, -21.89, -10.43)
CIE-LCHlch(46.52, 24.25, 205.47°)
OKLaboklab(53.06% -0.071 -0.0289)
OKLCHoklch(53.06% 0.077 202.2)
XYZxyz(11.5415, 15.6569, 22.4884)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28797F #7F2E28
analogous
#287F59 #28797F #284D7F
triadic
#28797F #7F2879 #797F28
tetradic
#28797F #59287F #7F2E28 #4D7F28
square
#28797F #59287F #7F2E28 #4D7F28
split-complementary
#28797F #7F284D #7F5928
monochromatic
#0B2022 #194D50 #28797F #37A5AE #57C2CA

Accessibility & contrast

On white

5.08
#28797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#28797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28797F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28797F#FFFFFF#000000##FFFFFF
##28797F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #28797f;
/* rgb */ color: rgb(40, 121, 127);
/* oklch */ color: oklch(53.1% 0.077 202.2);
Tailwind
colors: {
  custom: {
    50: '#6fa0a4',
    500: '#28797f',
    950: '#000000',
  },
}
SCSS
$custom: #28797f;
$custom-light: #6fa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28797f",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 184.138,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.07665,
    "h": 202.2
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#28797F
secondary
#AF5A54
accent
#564CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #28797F

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

Preview Lab → · Contrast checker → · Palette generator →

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