#5B579C#5B579C

#5B579C is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.3% C 0.108 H 284.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5B579C
RGBrgb(91, 87, 156)
HSLhsl(243, 28%, 48%)
HSVhsv(243, 44%, 61%)
CMYKcmyk(41.7%, 44.2%, 0%, 38.8%)
CIE-LABlab(40.31, 19.57, -37.16)
CIE-LCHlch(40.31, 42.00, 297.77°)
OKLaboklab(49.31% 0.0268 -0.1049)
OKLCHoklch(49.31% 0.108 284.3)
XYZxyz(13.7216, 11.4403, 32.9313)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B579C #989C57
analogous
#57769C #5B579C #7D579C
triadic
#5B579C #9C5B57 #579C5B
tetradic
#5B579C #9C5776 #989C57 #579C7D
square
#5B579C #9C5776 #989C57 #579C7D
split-complementary
#5B579C #9C7D57 #769C57
monochromatic
#2D2B4D #444175 #5B579C #7E7BB5 #A5A2CB

Accessibility & contrast

On white

6.39
#5B579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5B579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B579C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B579C#FFFFFF#000000##FFFFFF
##5B579C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619F
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#486572
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b579c;
/* rgb */ color: rgb(91, 87, 156);
/* oklch */ color: oklch(49.3% 0.108 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d86b9',
    500: '#5b579c',
    950: '#000000',
  },
}
SCSS
$custom: #5b579c;
$custom-light: #8d86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b579c",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 243.478,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.10825,
    "h": 284.3
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#5B579C
secondary
#B7B996
accent
#C563BF
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5B579C

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

Preview Lab → · Contrast checker → · Palette generator →

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