#505F7C#505F7C

#505F7C is a mid, muted blue. Relative luminance 0.113; OKLCH L 48.5% C 0.050 H 263.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#505F7C
RGBrgb(80, 95, 124)
HSLhsl(220, 22%, 40%)
HSVhsv(220, 35%, 49%)
CMYKcmyk(35.5%, 23.4%, 0%, 51.4%)
CIE-LABlab(40.16, 1.89, -18.13)
CIE-LCHlch(40.16, 18.23, 275.95°)
OKLaboklab(48.46% -0.0059 -0.0501)
OKLCHoklch(48.46% 0.05 263.3)
XYZxyz(11.0375, 11.3447, 20.6730)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F7C #7C6D50
analogous
#50757C #505F7C #57507C
triadic
#505F7C #7C505F #5F7C50
tetradic
#505F7C #7C5075 #7C6D50 #507C57
square
#505F7C #7C5075 #7C6D50 #507C57
split-complementary
#505F7C #7C5750 #757C50
monochromatic
#202632 #384357 #505F7C #6A7C9F #8F9DB7

Accessibility & contrast

On white

6.42
#505F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#505F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505F7C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F7C#FFFFFF#000000##FFFFFF
##505F7C1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617D
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#436569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #505f7c;
/* rgb */ color: rgb(80, 95, 124);
/* oklch */ color: oklch(48.5% 0.050 263.3);
Tailwind
colors: {
  custom: {
    50: '#828ca2',
    500: '#505f7c',
    950: '#000000',
  },
}
SCSS
$custom: #505f7c;
$custom-light: #828ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#505f7c",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 124
  },
  "hsl": {
    "h": 219.545,
    "s": 21.569,
    "l": 40
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.05048,
    "h": 263.3
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#505F7C
secondary
#A49984
accent
#A16ABE
background
#F8F8F9
surface
#EFF0F2
border
#CACBCC
text
#0A0C0F
muted
#7C7D7E

Preview Lab

Preview with #505F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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