#4D787B#4D787B

#4D787B is a mid, muted teal. Relative luminance 0.164; OKLCH L 54.3% C 0.048 H 201.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D787B
RGBrgb(77, 120, 123)
HSLhsl(184, 23%, 39%)
HSVhsv(184, 37%, 48%)
CMYKcmyk(37.4%, 2.4%, 0%, 51.8%)
CIE-LABlab(47.55, -13.99, -6.37)
CIE-LCHlch(47.55, 15.37, 204.46°)
OKLaboklab(54.25% -0.0445 -0.0175)
OKLCHoklch(54.25% 0.048 201.4)
XYZxyz(13.3509, 16.4399, 21.2048)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D787B #7B504D
analogous
#4D7B67 #4D787B #4D617B
triadic
#4D787B #7B4D78 #787B4D
tetradic
#4D787B #674D7B #7B504D #617B4D
square
#4D787B #674D7B #7B504D #617B4D
split-complementary
#4D787B #7B4D61 #7B674D
monochromatic
#1E2F30 #355355 #4D787B #669B9F #8CB4B7

Accessibility & contrast

On white

4.90
#4D787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4D787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D787B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D787B#FFFFFF#000000##FFFFFF
##4D787B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747B
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#3B7B79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d787b;
/* rgb */ color: rgb(77, 120, 123);
/* oklch */ color: oklch(54.3% 0.048 201.4);
Tailwind
colors: {
  custom: {
    50: '#819fa1',
    500: '#4d787b',
    950: '#000000',
  },
}
SCSS
$custom: #4d787b;
$custom-light: #819fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d787b",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 183.913,
    "s": 23,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.04777,
    "h": 201.4
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#4D787B
secondary
#A38380
accent
#6E68BF
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0A0E0E
muted
#7C7E7E

Preview Lab

Preview with #4D787B

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

Preview Lab → · Contrast checker → · Palette generator →

#4D787B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva