#5D587E#5D587E

#5D587E is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.1% C 0.061 H 289.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5D587E
RGBrgb(93, 88, 126)
HSLhsl(248, 18%, 42%)
HSVhsv(248, 30%, 49%)
CMYKcmyk(26.2%, 30.2%, 0%, 50.6%)
CIE-LABlab(39.26, 11.01, -20.64)
CIE-LCHlch(39.26, 23.39, 298.07°)
OKLaboklab(48.06% 0.0207 -0.057)
OKLCHoklch(48.06% 0.061 289.9)
XYZxyz(11.7689, 10.8128, 21.2016)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D587E #797E58
analogous
#58667E #5D587E #70587E
triadic
#5D587E #7E5D58 #587E5D
tetradic
#5D587E #7E5866 #797E58 #587E70
square
#5D587E #7E5866 #797E58 #587E70
split-complementary
#5D587E #7E7058 #667E58
monochromatic
#282636 #423F5A #5D587E #7A759E #9D99B8

Accessibility & contrast

On white

6.64
#5D587E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5D587E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D587E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D587E#FFFFFF#000000##FFFFFF
##5D587E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#4E5C7D
Tritanopia (blue-blind)
#565E65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d587e;
/* rgb */ color: rgb(93, 88, 126);
/* oklch */ color: oklch(48.1% 0.061 289.9);
Tailwind
colors: {
  custom: {
    50: '#8b87a3',
    500: '#5d587e',
    950: '#000000',
  },
}
SCSS
$custom: #5d587e;
$custom-light: #8b87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d587e",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 247.895,
    "s": 17.757,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.06069,
    "h": 289.9
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#5D587E
secondary
#A2A68C
accent
#BA6DB0
background
#F8F8FA
surface
#F0EFF3
border
#CBCACD
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5D587E

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

Preview Lab → · Contrast checker → · Palette generator →

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