#5B596E#5B596E

#5B596E is a mid, muted blue. Relative luminance 0.105; OKLCH L 47.4% C 0.034 H 289.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5B596E
RGBrgb(91, 89, 110)
HSLhsl(246, 11%, 39%)
HSVhsv(246, 19%, 43%)
CMYKcmyk(17.3%, 19.1%, 0%, 56.9%)
CIE-LABlab(38.72, 5.59, -11.66)
CIE-LCHlch(38.72, 12.93, 295.59°)
OKLaboklab(47.38% 0.0112 -0.0317)
OKLCHoklch(47.38% 0.034 289.4)
XYZxyz(10.7006, 10.4946, 16.2107)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B596E #6C6E59
analogous
#59626E #5B596E #66596E
triadic
#5B596E #6E5B59 #596E5B
tetradic
#5B596E #6E5962 #6C6E59 #596E66
square
#5B596E #6E5962 #6C6E59 #596E66
split-complementary
#5B596E #6E6659 #626E59
monochromatic
#23222A #3F3E4C #5B596E #77758F #9997AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B596E#FFFFFF#000000##FFFFFF
##5B596E1.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)
#545C6F
Deuteranopia (green-blind)
#545B6D
Tritanopia (blue-blind)
#575C60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b596e;
/* rgb */ color: rgb(91, 89, 110);
/* oklch */ color: oklch(47.4% 0.034 289.4);
Tailwind
colors: {
  custom: {
    50: '#898797',
    500: '#5b596e',
    950: '#000000',
  },
}
SCSS
$custom: #5b596e;
$custom-light: #898797;
$custom-dark: #000000;
JSON
{
  "hex": "#5b596e",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 110
  },
  "hsl": {
    "h": 245.714,
    "s": 10.553,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.03365,
    "h": 289.4
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#5B596E
secondary
#989989
accent
#B374AD
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0D
muted
#7C7C7E

Preview Lab

Preview with #5B596E

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

Preview Lab → · Contrast checker → · Palette generator →

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