#5A577B#5A577B

#5A577B is a mid, muted blue. Relative luminance 0.104; OKLCH L 47.4% C 0.058 H 287.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5A577B
RGBrgb(90, 87, 123)
HSLhsl(245, 17%, 41%)
HSVhsv(245, 29%, 48%)
CMYKcmyk(26.8%, 29.3%, 0%, 51.8%)
CIE-LABlab(38.59, 9.84, -19.87)
CIE-LCHlch(38.59, 22.17, 296.34°)
OKLaboklab(47.43% 0.0176 -0.0549)
OKLCHoklch(47.43% 0.058 287.8)
XYZxyz(11.1989, 10.4199, 20.1563)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A577B #787B57
analogous
#57667B #5A577B #6C577B
triadic
#5A577B #7B5A57 #577B5A
tetradic
#5A577B #7B5766 #787B57 #577B6C
square
#5A577B #7B5766 #787B57 #577B6C
split-complementary
#5A577B #7B6C57 #667B57
monochromatic
#262433 #403E57 #5A577B #77739C #9A97B5

Accessibility & contrast

On white

6.81
#5A577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5A577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A577B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A577B#FFFFFF#000000##FFFFFF
##5A577B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#535D64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a577b;
/* rgb */ color: rgb(90, 87, 123);
/* oklch */ color: oklch(47.4% 0.058 287.8);
Tailwind
colors: {
  custom: {
    50: '#8986a1',
    500: '#5a577b',
    950: '#000000',
  },
}
SCSS
$custom: #5a577b;
$custom-light: #8986a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a577b",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 245,
    "s": 17.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.05766,
    "h": 287.8
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#5A577B
secondary
#A1A38A
accent
#BA6EB4
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0F
muted
#7C7C7E

Preview Lab

Preview with #5A577B

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

Preview Lab → · Contrast checker → · Palette generator →

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