#5A577A#5A577A

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

Color values

HEX#5A577A
RGBrgb(90, 87, 122)
HSLhsl(245, 17%, 41%)
HSVhsv(245, 29%, 48%)
CMYKcmyk(26.2%, 28.7%, 0%, 52.2%)
CIE-LABlab(38.54, 9.57, -19.32)
CIE-LCHlch(38.54, 21.57, 296.35°)
OKLaboklab(47.38% 0.0173 -0.0533)
OKLCHoklch(47.38% 0.056 288)
XYZxyz(11.1366, 10.3950, 19.8283)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A577A #777A57
analogous
#57657A #5A577A #6B577A
triadic
#5A577A #7A5A57 #577A5A
tetradic
#5A577A #7A5765 #777A57 #577A6B
square
#5A577A #7A5765 #777A57 #577A6B
split-complementary
#5A577A #7A6B57 #657A57
monochromatic
#252433 #403E56 #5A577A #76739B #9997B5

Accessibility & contrast

On white

6.82
#5A577A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A577A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A577A#FFFFFF#000000##FFFFFF
##5A577A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7B
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#535D63
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a577a;
/* rgb */ color: rgb(90, 87, 122);
/* oklch */ color: oklch(47.4% 0.056 288.0);
Tailwind
colors: {
  custom: {
    50: '#8986a0',
    500: '#5a577a',
    950: '#000000',
  },
}
SCSS
$custom: #5a577a;
$custom-light: #8986a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a577a",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 122
  },
  "hsl": {
    "h": 245.143,
    "s": 16.746,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.05608,
    "h": 288
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#5A577A
secondary
#A1A38A
accent
#B96EB3
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0E
muted
#7C7C7E

Preview Lab

Preview with #5A577A

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

Preview Lab → · Contrast checker → · Palette generator →

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