#5B579A#5B579A

#5B579A is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.2% C 0.105 H 284.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B579A
RGBrgb(91, 87, 154)
HSLhsl(244, 28%, 47%)
HSVhsv(244, 44%, 60%)
CMYKcmyk(40.9%, 43.5%, 0%, 39.6%)
CIE-LABlab(40.20, 18.97, -36.14)
CIE-LCHlch(40.20, 40.81, 297.70°)
OKLaboklab(49.19% 0.0264 -0.1019)
OKLCHoklch(49.19% 0.105 284.5)
XYZxyz(13.5537, 11.3731, 32.0467)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B579A #969A57
analogous
#57759A #5B579A #7D579A
triadic
#5B579A #9A5B57 #579A5B
tetradic
#5B579A #9A5775 #969A57 #579A7D
square
#5B579A #9A5775 #969A57 #579A7D
split-complementary
#5B579A #9A7D57 #759A57
monochromatic
#2D2B4C #444173 #5B579A #7E7AB4 #A4A1CA

Accessibility & contrast

On white

6.41
#5B579A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5B579A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B579A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B579A#FFFFFF#000000##FFFFFF
##5B579A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619D
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#496471
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b579a;
/* rgb */ color: rgb(91, 87, 154);
/* oklch */ color: oklch(49.2% 0.105 284.5);
Tailwind
colors: {
  custom: {
    50: '#8c86b8',
    500: '#5b579a',
    950: '#000000',
  },
}
SCSS
$custom: #5b579a;
$custom-light: #8c86b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b579a",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 243.582,
    "s": 27.801,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.10527,
    "h": 284.5
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#5B579A
secondary
#B6B895
accent
#C464BE
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5B579A

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

Preview Lab → · Contrast checker → · Palette generator →

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