#5A586E#5A586E

#5A586E is a mid, muted blue. Relative luminance 0.103; OKLCH L 47.1% C 0.035 H 289.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5A586E
RGBrgb(90, 88, 110)
HSLhsl(245, 11%, 39%)
HSVhsv(245, 20%, 43%)
CMYKcmyk(18.2%, 20%, 0%, 56.9%)
CIE-LABlab(38.34, 5.85, -12.24)
CIE-LCHlch(38.34, 13.57, 295.53°)
OKLaboklab(47.06% 0.0116 -0.0334)
OKLCHoklch(47.06% 0.035 289.1)
XYZxyz(10.5200, 10.2788, 16.1786)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A586E #6C6E58
analogous
#58616E #5A586E #65586E
triadic
#5A586E #6E5A58 #586E5A
tetradic
#5A586E #6E5861 #6C6E58 #586E65
square
#5A586E #6E5861 #6C6E58 #586E65
split-complementary
#5A586E #6E6558 #616E58
monochromatic
#22222A #3E3D4C #5A586E #767490 #9896AB

Accessibility & contrast

On white

6.87
#5A586E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5A586E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A586E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A586E#FFFFFF#000000##FFFFFF
##5A586E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#535A6D
Tritanopia (blue-blind)
#565C5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5a586e;
/* rgb */ color: rgb(90, 88, 110);
/* oklch */ color: oklch(47.1% 0.035 289.1);
Tailwind
colors: {
  custom: {
    50: '#898797',
    500: '#5a586e',
    950: '#000000',
  },
}
SCSS
$custom: #5a586e;
$custom-light: #898797;
$custom-dark: #000000;
JSON
{
  "hex": "#5a586e",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 110
  },
  "hsl": {
    "h": 245.455,
    "s": 11.111,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.03532,
    "h": 289.1
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#5A586E
secondary
#989988
accent
#B474AE
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0D
muted
#7C7C7E

Preview Lab

Preview with #5A586E

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

Preview Lab → · Contrast checker → · Palette generator →

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