#5B596F#5B596F

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

Color values

HEX#5B596F
RGBrgb(91, 89, 111)
HSLhsl(245, 11%, 39%)
HSVhsv(245, 20%, 44%)
CMYKcmyk(18%, 19.8%, 0%, 56.5%)
CIE-LABlab(38.75, 5.83, -12.22)
CIE-LCHlch(38.75, 13.54, 295.52°)
OKLaboklab(47.42% 0.0116 -0.0333)
OKLCHoklch(47.42% 0.035 289.1)
XYZxyz(10.7554, 10.5165, 16.4991)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B596F #6D6F59
analogous
#59626F #5B596F #66596F
triadic
#5B596F #6F5B59 #596F5B
tetradic
#5B596F #6F5962 #6D6F59 #596F66
square
#5B596F #6F5962 #6D6F59 #596F66
split-complementary
#5B596F #6F6659 #626F59
monochromatic
#23232B #3F3E4D #5B596F #777590 #9997AC

Accessibility & contrast

On white

6.77
#5B596F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B596F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B596F#FFFFFF#000000##FFFFFF
##5B596F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C70
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#575D60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b596f;
/* rgb */ color: rgb(91, 89, 111);
/* oklch */ color: oklch(47.4% 0.035 289.1);
Tailwind
colors: {
  custom: {
    50: '#898798',
    500: '#5b596f',
    950: '#000000',
  },
}
SCSS
$custom: #5b596f;
$custom-light: #898798;
$custom-dark: #000000;
JSON
{
  "hex": "#5b596f",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 111
  },
  "hsl": {
    "h": 245.455,
    "s": 11,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.03525,
    "h": 289.1
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#5B596F
secondary
#999A8A
accent
#B474AE
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0D
muted
#7C7C7E

Preview Lab

Preview with #5B596F

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

Preview Lab → · Contrast checker → · Palette generator →

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