#505F5F#505F5F

#505F5F is a mid, near-neutral teal. Relative luminance 0.107; OKLCH L 47.3% C 0.018 H 196.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#505F5F
RGBrgb(80, 95, 95)
HSLhsl(180, 9%, 34%)
HSVhsv(180, 16%, 37%)
CMYKcmyk(15.8%, 0%, 0%, 62.7%)
CIE-LABlab(39.10, -5.73, -1.93)
CIE-LCHlch(39.10, 6.05, 198.62°)
OKLaboklab(47.28% -0.0177 -0.0053)
OKLCHoklch(47.28% 0.018 196.6)
XYZxyz(9.4655, 10.7159, 12.3939)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F5F #5F5050
analogous
#505F58 #505F5F #50585F
triadic
#505F5F #5F505F #5F5F50
tetradic
#505F5F #58505F #5F5050 #585F50
square
#505F5F #58505F #5F5050 #585F50
split-complementary
#505F5F #5F5058 #5F5850
monochromatic
#181D1D #343E3E #505F5F #6C8080 #8C9E9E

Accessibility & contrast

On white

6.68
#505F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#505F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505F5F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F5F#FFFFFF#000000##FFFFFF
##505F5F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5F
Deuteranopia (green-blind)
#5A5B5F
Tritanopia (blue-blind)
#4C605F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #505f5f;
/* rgb */ color: rgb(80, 95, 95);
/* oklch */ color: oklch(47.3% 0.018 196.6);
Tailwind
colors: {
  custom: {
    50: '#818c8c',
    500: '#505f5f',
    950: '#000000',
  },
}
SCSS
$custom: #505f5f;
$custom-light: #818c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#505f5f",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 95
  },
  "hsl": {
    "h": 180,
    "s": 8.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.01846,
    "h": 196.6
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#505F5F
secondary
#8D7E7E
accent
#7676B2
background
#F7F8F8
surface
#EEF0F0
border
#C9CBCB
text
#0A0C0C
muted
#7C7D7D

Preview Lab

Preview with #505F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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