#28797E#28797E

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

Color values

HEX#28797E
RGBrgb(40, 121, 126)
HSLhsl(183, 52%, 33%)
HSVhsv(183, 68%, 49%)
CMYKcmyk(68.3%, 4%, 0%, 50.6%)
CIE-LABlab(46.49, -22.21, -9.88)
CIE-LCHlch(46.49, 24.31, 204.00°)
OKLaboklab(53.02% -0.0714 -0.0274)
OKLCHoklch(53.02% 0.077 201)
XYZxyz(11.4767, 15.6309, 22.1468)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28797E #7E2D28
analogous
#287E58 #28797E #284E7E
triadic
#28797E #7E2879 #797E28
tetradic
#28797E #58287E #7E2D28 #4E7E28
square
#28797E #58287E #7E2D28 #4E7E28
split-complementary
#28797E #7E284E #7E5828
monochromatic
#0B2021 #194C50 #28797E #37A6AC #57C3CA

Accessibility & contrast

On white

5.09
#28797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28797E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28797E#FFFFFF#000000##FFFFFF
##28797E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747E
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #28797e;
/* rgb */ color: rgb(40, 121, 126);
/* oklch */ color: oklch(53.0% 0.077 201.0);
Tailwind
colors: {
  custom: {
    50: '#6fa0a3',
    500: '#28797e',
    950: '#000000',
  },
}
SCSS
$custom: #28797e;
$custom-light: #6fa0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28797e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.488,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.07653,
    "h": 201
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#28797E
secondary
#AF5853
accent
#554DDB
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #28797E

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

Preview Lab → · Contrast checker → · Palette generator →

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