#51787E#51787E

#51787E is a mid, muted teal. Relative luminance 0.167; OKLCH L 54.6% C 0.045 H 208.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#51787E
RGBrgb(81, 120, 126)
HSLhsl(188, 22%, 41%)
HSVhsv(188, 36%, 49%)
CMYKcmyk(35.7%, 4.8%, 0%, 50.6%)
CIE-LABlab(47.86, -12.01, -7.65)
CIE-LCHlch(47.86, 14.24, 212.48°)
OKLaboklab(54.6% -0.0394 -0.0209)
OKLCHoklch(54.6% 0.045 208)
XYZxyz(13.8744, 16.6878, 22.2246)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51787E #7E5751
analogous
#517E6D #51787E #51617E
triadic
#51787E #7E5178 #787E51
tetradic
#51787E #6D517E #7E5751 #617E51
square
#51787E #6D517E #7E5751 #617E51
split-complementary
#51787E #7E5161 #7E6D51
monochromatic
#213133 #395559 #51787E #6C99A0 #91B3B8

Accessibility & contrast

On white

4.84
#51787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#51787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51787E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51787E#FFFFFF#000000##FFFFFF
##51787E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757E
Deuteranopia (green-blind)
#6A6F7E
Tritanopia (blue-blind)
#407B7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #51787e;
/* rgb */ color: rgb(81, 120, 126);
/* oklch */ color: oklch(54.6% 0.045 208.0);
Tailwind
colors: {
  custom: {
    50: '#849fa3',
    500: '#51787e',
    950: '#000000',
  },
}
SCSS
$custom: #51787e;
$custom-light: #849fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#51787e",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 188,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.04461,
    "h": 208
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#51787E
secondary
#A58A85
accent
#756ABE
background
#F8F9FA
surface
#EFF2F3
border
#CACCCD
text
#0B0E0F
muted
#7C7E7F

Preview Lab

Preview with #51787E

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

Preview Lab → · Contrast checker → · Palette generator →

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