#5A586A#5A586A

#5A586A is a mid, muted blue. Relative luminance 0.102; OKLCH L 46.9% C 0.029 H 290.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5A586A
RGBrgb(90, 88, 106)
HSLhsl(247, 9%, 38%)
HSVhsv(247, 17%, 42%)
CMYKcmyk(15.1%, 17%, 0%, 58.4%)
CIE-LABlab(38.19, 4.87, -10.00)
CIE-LCHlch(38.19, 11.12, 295.96°)
OKLaboklab(46.9% 0.0101 -0.0271)
OKLCHoklch(46.9% 0.029 290.3)
XYZxyz(10.3071, 10.1936, 15.0574)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A586A #686A58
analogous
#585F6A #5A586A #63586A
triadic
#5A586A #6A5A58 #586A5A
tetradic
#5A586A #6A585F #686A58 #586A63
square
#5A586A #6A585F #686A58 #586A63
split-complementary
#5A586A #6A6358 #5F6A58
monochromatic
#212027 #3E3C49 #5A586A #76748B #9795A7

Accessibility & contrast

On white

6.91
#5A586A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5A586A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A586A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A586A#FFFFFF#000000##FFFFFF
##5A586A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545A6B
Deuteranopia (green-blind)
#545A69
Tritanopia (blue-blind)
#575B5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5a586a;
/* rgb */ color: rgb(90, 88, 106);
/* oklch */ color: oklch(46.9% 0.029 290.3);
Tailwind
colors: {
  custom: {
    50: '#888794',
    500: '#5a586a',
    950: '#000000',
  },
}
SCSS
$custom: #5a586a;
$custom-light: #888794;
$custom-dark: #000000;
JSON
{
  "hex": "#5a586a",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 106
  },
  "hsl": {
    "h": 246.667,
    "s": 9.278,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46895,
    "c": 0.02892,
    "h": 290.3
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#5A586A
secondary
#959688
accent
#B276AC
background
#F8F8F9
surface
#F0EFF1
border
#CBCACB
text
#0B0B0D
muted
#7C7C7E

Preview Lab

Preview with #5A586A

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

Preview Lab → · Contrast checker → · Palette generator →

#5A586A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva