#505166#505166

#505166 is a dark, muted blue. Relative luminance 0.086; OKLCH L 44.2% C 0.034 H 282.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#505166
RGBrgb(80, 81, 102)
HSLhsl(237, 12%, 36%)
HSVhsv(237, 22%, 40%)
CMYKcmyk(21.6%, 20.6%, 0%, 60%)
CIE-LABlab(35.10, 4.62, -12.26)
CIE-LCHlch(35.10, 13.11, 290.65°)
OKLaboklab(44.22% 0.0076 -0.0335)
OKLCHoklch(44.22% 0.034 282.7)
XYZxyz(8.6484, 8.5495, 13.7624)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505166 #666550
analogous
#505C66 #505166 #5A5066
triadic
#505166 #665051 #516650
tetradic
#505166 #66505C #666550 #50665A
square
#505166 #66505C #666550 #50665A
split-complementary
#505166 #665A50 #5C6650
monochromatic
#1A1B21 #353644 #505166 #6B6C88 #8C8DA5

Accessibility & contrast

On white

7.75
#505166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#505166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505166
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505166#FFFFFF#000000##FFFFFF
##5051661.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5367
Deuteranopia (green-blind)
#4B5265
Tritanopia (blue-blind)
#4B5558
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #505166;
/* rgb */ color: rgb(80, 81, 102);
/* oklch */ color: oklch(44.2% 0.034 282.7);
Tailwind
colors: {
  custom: {
    50: '#818191',
    500: '#505166',
    950: '#000000',
  },
}
SCSS
$custom: #505166;
$custom-light: #818191;
$custom-dark: #000000;
JSON
{
  "hex": "#505166",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 237.273,
    "s": 12.088,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.03436,
    "h": 282.7
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#505166
secondary
#93927F
accent
#B273B5
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #505166

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

Preview Lab → · Contrast checker → · Palette generator →

#505166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva