#28797D#28797D

#28797D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.076 H 199.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#28797D
RGBrgb(40, 121, 125)
HSLhsl(183, 52%, 32%)
HSVhsv(183, 68%, 49%)
CMYKcmyk(68%, 3.2%, 0%, 51%)
CIE-LABlab(46.45, -22.52, -9.34)
CIE-LCHlch(46.45, 24.38, 202.53°)
OKLaboklab(52.99% -0.0719 -0.0259)
OKLCHoklch(52.99% 0.076 199.8)
XYZxyz(11.4125, 15.6053, 21.8087)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28797D #7D2C28
analogous
#287D57 #28797D #284E7D
triadic
#28797D #7D2879 #797D28
tetradic
#28797D #57287D #7D2C28 #4E7D28
square
#28797D #57287D #7D2C28 #4E7D28
split-complementary
#28797D #7D284E #7D5728
monochromatic
#0A1F20 #194C4F #28797D #37A6AB #56C4C9

Accessibility & contrast

On white

5.10
#28797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#28797D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28797D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28797D#FFFFFF#000000##FFFFFF
##28797D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747D
Deuteranopia (green-blind)
#636A7D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #28797d;
/* rgb */ color: rgb(40, 121, 125);
/* oklch */ color: oklch(53.0% 0.076 199.8);
Tailwind
colors: {
  custom: {
    50: '#6ea0a2',
    500: '#28797d',
    950: '#000000',
  },
}
SCSS
$custom: #28797d;
$custom-light: #6ea0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#28797d",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 182.824,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.07643,
    "h": 199.8
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#28797D
secondary
#AE5753
accent
#544DDB
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #28797D

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

Preview Lab → · Contrast checker → · Palette generator →

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