#5B577B#5B577B

#5B577B is a mid, muted blue. Relative luminance 0.105; OKLCH L 47.5% C 0.058 H 289.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5B577B
RGBrgb(91, 87, 123)
HSLhsl(247, 17%, 41%)
HSVhsv(247, 29%, 48%)
CMYKcmyk(26%, 29.3%, 0%, 51.8%)
CIE-LABlab(38.67, 10.17, -19.73)
CIE-LCHlch(38.67, 22.20, 297.28°)
OKLaboklab(47.52% 0.0189 -0.0545)
OKLCHoklch(47.52% 0.058 289.1)
XYZxyz(11.2969, 10.4704, 20.1609)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B577B #777B57
analogous
#57657B #5B577B #6D577B
triadic
#5B577B #7B5B57 #577B5B
tetradic
#5B577B #7B5765 #777B57 #577B6D
square
#5B577B #7B5765 #777B57 #577B6D
split-complementary
#5B577B #7B6D57 #657B57
monochromatic
#262433 #403E57 #5B577B #78739C #9A97B5

Accessibility & contrast

On white

6.79
#5B577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5B577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B577B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B577B#FFFFFF#000000##FFFFFF
##5B577B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b577b;
/* rgb */ color: rgb(91, 87, 123);
/* oklch */ color: oklch(47.5% 0.058 289.1);
Tailwind
colors: {
  custom: {
    50: '#8a86a1',
    500: '#5b577b',
    950: '#000000',
  },
}
SCSS
$custom: #5b577b;
$custom-light: #8a86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b577b",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 246.667,
    "s": 17.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.05764,
    "h": 289.1
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#5B577B
secondary
#A1A38A
accent
#BA6EB1
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0F
muted
#7D7C7E

Preview Lab

Preview with #5B577B

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

Preview Lab → · Contrast checker → · Palette generator →

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