#51797E#51797E

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

Color values

HEX#51797E
RGBrgb(81, 121, 126)
HSLhsl(187, 22%, 41%)
HSVhsv(187, 36%, 49%)
CMYKcmyk(35.7%, 4%, 0%, 50.6%)
CIE-LABlab(48.17, -12.57, -7.19)
CIE-LCHlch(48.17, 14.48, 209.76°)
OKLaboklab(54.84% -0.0407 -0.0197)
OKLCHoklch(54.84% 0.045 205.8)
XYZxyz(13.9953, 16.9296, 22.2649)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51797E #7E5651
analogous
#517E6C #51797E #51627E
triadic
#51797E #7E5179 #797E51
tetradic
#51797E #6C517E #7E5651 #627E51
square
#51797E #6C517E #7E5651 #627E51
split-complementary
#51797E #7E5162 #7E6C51
monochromatic
#213133 #395559 #51797E #6C9BA0 #91B4B8

Accessibility & contrast

On white

4.79
#51797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#51797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51797E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51797E#FFFFFF#000000##FFFFFF
##51797E1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73767E
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#407C7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #51797e;
/* rgb */ color: rgb(81, 121, 126);
/* oklch */ color: oklch(54.8% 0.045 205.8);
Tailwind
colors: {
  custom: {
    50: '#849fa3',
    500: '#51797e',
    950: '#000000',
  },
}
SCSS
$custom: #51797e;
$custom-light: #849fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#51797e",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 186.667,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.04525,
    "h": 205.8
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#51797E
secondary
#A58985
accent
#736ABE
background
#F8F9FA
surface
#EFF2F3
border
#CACCCD
text
#0B0E0F
muted
#7C7E7F

Preview Lab

Preview with #51797E

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

Preview Lab → · Contrast checker → · Palette generator →

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