#28797C#28797C

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

Color values

HEX#28797C
RGBrgb(40, 121, 124)
HSLhsl(182, 51%, 32%)
HSVhsv(182, 68%, 49%)
CMYKcmyk(67.7%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.42, -22.83, -8.80)
CIE-LCHlch(46.42, 24.47, 201.07°)
OKLaboklab(52.95% -0.0724 -0.0244)
OKLCHoklch(52.95% 0.076 198.6)
XYZxyz(11.3489, 15.5798, 21.4740)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28797C #7C2B28
analogous
#287C55 #28797C #284F7C
triadic
#28797C #7C2879 #797C28
tetradic
#28797C #55287C #7C2B28 #4F7C28
square
#28797C #55287C #7C2B28 #4F7C28
split-complementary
#28797C #7C284F #7C5528
monochromatic
#0A1F1F #194C4E #28797C #37A6AA #56C4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28797C#FFFFFF#000000##FFFFFF
##28797C1.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)
#70737C
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #28797c;
/* rgb */ color: rgb(40, 121, 124);
/* oklch */ color: oklch(52.9% 0.076 198.6);
Tailwind
colors: {
  custom: {
    50: '#6ea0a1',
    500: '#28797c',
    950: '#000000',
  },
}
SCSS
$custom: #28797c;
$custom-light: #6ea0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28797c",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.07637,
    "h": 198.6
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#28797C
secondary
#AD5652
accent
#524DDB
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #28797C

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

Preview Lab → · Contrast checker → · Palette generator →

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