#504C6A#504C6A

#504C6A is a dark, muted blue. Relative luminance 0.079; OKLCH L 43.3% C 0.049 H 290.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#504C6A
RGBrgb(80, 76, 106)
HSLhsl(248, 16%, 36%)
HSVhsv(248, 28%, 42%)
CMYKcmyk(24.5%, 28.3%, 0%, 58.4%)
CIE-LABlab(33.80, 8.86, -16.76)
CIE-LCHlch(33.80, 18.96, 297.87°)
OKLaboklab(43.27% 0.0171 -0.0462)
OKLCHoklch(43.27% 0.049 290.3)
XYZxyz(8.4936, 7.9148, 14.7131)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C6A #666A4C
analogous
#4C576A #504C6A #5F4C6A
triadic
#504C6A #6A504C #4C6A50
tetradic
#504C6A #6A4C57 #666A4C #4C6A5F
square
#504C6A #6A4C57 #666A4C #4C6A5F
split-complementary
#504C6A #6A5F4C #576A4C
monochromatic
#1A1923 #353246 #504C6A #6B668E #8C87A9

Accessibility & contrast

On white

8.13
#504C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#504C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C6A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C6A#FFFFFF#000000##FFFFFF
##504C6A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506B
Deuteranopia (green-blind)
#454F69
Tritanopia (blue-blind)
#4A5156
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504c6a;
/* rgb */ color: rgb(80, 76, 106);
/* oklch */ color: oklch(43.3% 0.049 290.3);
Tailwind
colors: {
  custom: {
    50: '#817e94',
    500: '#504c6a',
    950: '#000000',
  },
}
SCSS
$custom: #504c6a;
$custom-light: #817e94;
$custom-dark: #000000;
JSON
{
  "hex": "#504c6a",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 106
  },
  "hsl": {
    "h": 248,
    "s": 16.484,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.04922,
    "h": 290.3
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#504C6A
secondary
#93977B
accent
#B96FAF
background
#F7F7F9
surface
#EEEEF1
border
#C9C9CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #504C6A

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

Preview Lab → · Contrast checker → · Palette generator →

#504C6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva