#5A577D#5A577D

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

Color values

HEX#5A577D
RGBrgb(90, 87, 125)
HSLhsl(245, 18%, 42%)
HSVhsv(245, 30%, 49%)
CMYKcmyk(28%, 30.4%, 0%, 51%)
CIE-LABlab(38.67, 10.38, -20.96)
CIE-LCHlch(38.67, 23.39, 296.34°)
OKLaboklab(47.53% 0.0183 -0.058)
OKLCHoklch(47.53% 0.061 287.5)
XYZxyz(11.3254, 10.4705, 20.8224)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A577D #7A7D57
analogous
#57677D #5A577D #6D577D
triadic
#5A577D #7D5A57 #577D5A
tetradic
#5A577D #7D5767 #7A7D57 #577D6D
square
#5A577D #7D5767 #7A7D57 #577D6D
split-complementary
#5A577D #7D6D57 #677D57
monochromatic
#262535 #403E59 #5A577D #77739E #9A97B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A577D#FFFFFF#000000##FFFFFF
##5A577D1.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)
#4D5C7F
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#525E64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a577d;
/* rgb */ color: rgb(90, 87, 125);
/* oklch */ color: oklch(47.5% 0.061 287.5);
Tailwind
colors: {
  custom: {
    50: '#8986a2',
    500: '#5a577d',
    950: '#000000',
  },
}
SCSS
$custom: #5a577d;
$custom-light: #8986a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a577d",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 244.737,
    "s": 17.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.06081,
    "h": 287.5
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#5A577D
secondary
#A3A58B
accent
#BB6DB4
background
#F8F8FA
surface
#F0EFF3
border
#CBCACD
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #5A577D

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

Preview Lab → · Contrast checker → · Palette generator →

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