#51797B#51797B

#51797B is a mid, muted teal. Relative luminance 0.169; OKLCH L 54.7% C 0.045 H 199.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#51797B
RGBrgb(81, 121, 123)
HSLhsl(183, 21%, 40%)
HSVhsv(183, 34%, 48%)
CMYKcmyk(34.1%, 1.6%, 0%, 51.8%)
CIE-LABlab(48.07, -13.36, -5.56)
CIE-LCHlch(48.07, 14.47, 202.58°)
OKLaboklab(54.73% -0.0421 -0.0152)
OKLCHoklch(54.73% 0.045 199.9)
XYZxyz(13.8046, 16.8533, 21.2607)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51797B #7B5351
analogous
#517B68 #51797B #51647B
triadic
#51797B #7B5179 #797B51
tetradic
#51797B #68517B #7B5351 #647B51
square
#51797B #68517B #7B5351 #647B51
split-complementary
#51797B #7B5164 #7B6851
monochromatic
#203031 #395556 #51797B #6B9B9E #90B4B6

Accessibility & contrast

On white

4.80
#51797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#51797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51797B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51797B#FFFFFF#000000##FFFFFF
##51797B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74757B
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#417C79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #51797b;
/* rgb */ color: rgb(81, 121, 123);
/* oklch */ color: oklch(54.7% 0.045 199.9);
Tailwind
colors: {
  custom: {
    50: '#849fa1',
    500: '#51797b',
    950: '#000000',
  },
}
SCSS
$custom: #51797b;
$custom-light: #849fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#51797b",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 182.857,
    "s": 20.588,
    "l": 40
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.04474,
    "h": 199.9
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#51797B
secondary
#A38684
accent
#6F6BBD
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0B0E0E
muted
#7C7E7E

Preview Lab

Preview with #51797B

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

Preview Lab → · Contrast checker → · Palette generator →

#51797B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva