#5B577E#5B577E

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

Color values

HEX#5B577E
RGBrgb(91, 87, 126)
HSLhsl(246, 18%, 42%)
HSVhsv(246, 31%, 49%)
CMYKcmyk(27.8%, 31%, 0%, 50.6%)
CIE-LABlab(38.81, 10.98, -21.36)
CIE-LCHlch(38.81, 24.02, 297.19°)
OKLaboklab(47.67% 0.0198 -0.0591)
OKLCHoklch(47.67% 0.062 288.5)
XYZxyz(11.4875, 10.5467, 21.1651)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B577E #7A7E57
analogous
#57677E #5B577E #6F577E
triadic
#5B577E #7E5B57 #577E5B
tetradic
#5B577E #7E5767 #7A7E57 #577E6F
square
#5B577E #7E5767 #7A7E57 #577E6F
split-complementary
#5B577E #7E6F57 #677E57
monochromatic
#272536 #413E5A #5B577E #78749F #9B98B8

Accessibility & contrast

On white

6.75
#5B577E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5B577E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B577E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B577E#FFFFFF#000000##FFFFFF
##5B577E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b577e;
/* rgb */ color: rgb(91, 87, 126);
/* oklch */ color: oklch(47.7% 0.062 288.5);
Tailwind
colors: {
  custom: {
    50: '#8a86a3',
    500: '#5b577e',
    950: '#000000',
  },
}
SCSS
$custom: #5b577e;
$custom-light: #8a86a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b577e",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 246.154,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.06236,
    "h": 288.5
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#5B577E
secondary
#A3A68B
accent
#BB6DB3
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5B577E

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

Preview Lab → · Contrast checker → · Palette generator →

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