#28787E#28787E

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

Color values

HEX#28787E
RGBrgb(40, 120, 126)
HSLhsl(184, 52%, 33%)
HSVhsv(184, 68%, 49%)
CMYKcmyk(68.3%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.16, -21.68, -10.37)
CIE-LCHlch(46.16, 24.03, 205.56°)
OKLaboklab(52.76% -0.0703 -0.0288)
OKLCHoklch(52.76% 0.076 202.2)
XYZxyz(11.3558, 15.3892, 22.1065)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28787E #7E2E28
analogous
#287E59 #28787E #284D7E
triadic
#28787E #7E2878 #787E28
tetradic
#28787E #59287E #7E2E28 #4D7E28
square
#28787E #59287E #7E2E28 #4D7E28
split-complementary
#28787E #7E284D #7E5928
monochromatic
#0B2021 #194C50 #28787E #37A4AC #57C2CA

Accessibility & contrast

On white

5.15
#28787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28787E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28787E#FFFFFF#000000##FFFFFF
##28787E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28787e;
/* rgb */ color: rgb(40, 120, 126);
/* oklch */ color: oklch(52.8% 0.076 202.2);
Tailwind
colors: {
  custom: {
    50: '#6e9fa3',
    500: '#28787e',
    950: '#000000',
  },
}
SCSS
$custom: #28787e;
$custom-light: #6e9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#28787e",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 184.186,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.07599,
    "h": 202.2
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#28787E
secondary
#AF5A53
accent
#564DDB
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #28787E

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

Preview Lab → · Contrast checker → · Palette generator →

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