#505B4E#505B4E

#505B4E is a mid, muted grey. Relative luminance 0.097; OKLCH L 45.7% C 0.025 H 140.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#505B4E
RGBrgb(80, 91, 78)
HSLhsl(111, 8%, 33%)
HSVhsv(111, 14%, 36%)
CMYKcmyk(12.1%, 0%, 14.3%, 64.3%)
CIE-LABlab(37.37, -7.10, 6.06)
CIE-LCHlch(37.37, 9.34, 139.52°)
OKLaboklab(45.75% -0.0193 0.0157)
OKLCHoklch(45.75% 0.025 140.8)
XYZxyz(8.4242, 9.7376, 8.6420)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B4E #594E5B
analogous
#565B4E #505B4E #4E5B52
triadic
#505B4E #4E505B #5B4E50
tetradic
#505B4E #4E565B #594E5B #5B524E
square
#505B4E #4E565B #594E5B #5B524E
split-complementary
#505B4E #524E5B #5B4E56
monochromatic
#161916 #333A32 #505B4E #6D7C6A #8C9A89

Accessibility & contrast

On white

7.12
#505B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#505B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505B4E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B4E#FFFFFF#000000##FFFFFF
##505B4E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594D
Deuteranopia (green-blind)
#5A574F
Tritanopia (blue-blind)
#4F5A57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505b4e;
/* rgb */ color: rgb(80, 91, 78);
/* oklch */ color: oklch(45.7% 0.025 140.8);
Tailwind
colors: {
  custom: {
    50: '#81897f',
    500: '#505b4e',
    950: '#000000',
  },
}
SCSS
$custom: #505b4e;
$custom-light: #81897f;
$custom-dark: #000000;
JSON
{
  "hex": "#505b4e",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 110.769,
    "s": 7.692,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.02488,
    "h": 140.8
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#505B4E
secondary
#877C89
accent
#77B1A8
background
#F7F8F7
surface
#EEF0EE
border
#C9CBC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #505B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#505B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva