#5A577E#5A577E

#5A577E is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.062 H 287.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5A577E
RGBrgb(90, 87, 126)
HSLhsl(245, 18%, 42%)
HSVhsv(245, 31%, 49%)
CMYKcmyk(28.6%, 31%, 0%, 50.6%)
CIE-LABlab(38.72, 10.65, -21.50)
CIE-LCHlch(38.72, 24.00, 296.35°)
OKLaboklab(47.58% 0.0186 -0.0596)
OKLCHoklch(47.58% 0.062 287.3)
XYZxyz(11.3896, 10.4962, 21.1605)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A577E #7B7E57
analogous
#57687E #5A577E #6E577E
triadic
#5A577E #7E5A57 #577E5A
tetradic
#5A577E #7E5768 #7B7E57 #577E6E
square
#5A577E #7E5768 #7B7E57 #577E6E
split-complementary
#5A577E #7E6E57 #687E57
monochromatic
#262536 #403E5A #5A577E #77749F #9A98B8

Accessibility & contrast

On white

6.78
#5A577E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5A577E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A577E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A577E#FFFFFF#000000##FFFFFF
##5A577E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#525E65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a577e;
/* rgb */ color: rgb(90, 87, 126);
/* oklch */ color: oklch(47.6% 0.062 287.3);
Tailwind
colors: {
  custom: {
    50: '#8986a3',
    500: '#5a577e',
    950: '#000000',
  },
}
SCSS
$custom: #5a577e;
$custom-light: #8986a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a577e",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 244.615,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.06239,
    "h": 287.3
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#5A577E
secondary
#A4A68B
accent
#BB6DB5
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #5A577E

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

Preview Lab → · Contrast checker → · Palette generator →

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