#505A6E#505A6E

#505A6E is a mid, muted blue. Relative luminance 0.101; OKLCH L 46.7% C 0.035 H 264.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#505A6E
RGBrgb(80, 90, 110)
HSLhsl(220, 16%, 37%)
HSVhsv(220, 27%, 43%)
CMYKcmyk(27.3%, 18.2%, 0%, 56.9%)
CIE-LABlab(38.10, 1.10, -12.69)
CIE-LCHlch(38.10, 12.73, 274.96°)
OKLaboklab(46.67% -0.0036 -0.0348)
OKLCHoklch(46.67% 0.035 264.2)
XYZxyz(9.7781, 10.1433, 16.1915)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A6E #6E6450
analogous
#50696E #505A6E #55506E
triadic
#505A6E #6E505A #5A6E50
tetradic
#505A6E #6E5069 #6E6450 #506E55
square
#505A6E #6E5069 #6E6450 #506E55
split-complementary
#505A6E #6E5550 #696E50
monochromatic
#1C2027 #363D4B #505A6E #6A7791 #8D97AC

Accessibility & contrast

On white

6.93
#505A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#505A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505A6E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A6E#FFFFFF#000000##FFFFFF
##505A6E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6F
Deuteranopia (green-blind)
#51586E
Tritanopia (blue-blind)
#485E61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #505a6e;
/* rgb */ color: rgb(80, 90, 110);
/* oklch */ color: oklch(46.7% 0.035 264.2);
Tailwind
colors: {
  custom: {
    50: '#818897',
    500: '#505a6e',
    950: '#000000',
  },
}
SCSS
$custom: #505a6e;
$custom-light: #818897;
$custom-dark: #000000;
JSON
{
  "hex": "#505a6e",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 110
  },
  "hsl": {
    "h": 220,
    "s": 15.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.03493,
    "h": 264.2
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#505A6E
secondary
#9A9180
accent
#A06FB9
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0B0D
muted
#7C7C7E

Preview Lab

Preview with #505A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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