#5D589D#5D589D

#5D589D is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.7% C 0.108 H 285.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5D589D
RGBrgb(93, 88, 157)
HSLhsl(244, 28%, 48%)
HSVhsv(244, 44%, 62%)
CMYKcmyk(40.8%, 43.9%, 0%, 38.4%)
CIE-LABlab(40.80, 19.78, -36.97)
CIE-LCHlch(40.80, 41.93, 298.15°)
OKLaboklab(49.74% 0.0281 -0.1043)
OKLCHoklch(49.74% 0.108 285.1)
XYZxyz(14.0880, 11.7404, 33.4156)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D589D #989D58
analogous
#58759D #5D589D #7F589D
triadic
#5D589D #9D5D58 #589D5D
tetradic
#5D589D #9D5875 #989D58 #589D7F
square
#5D589D #9D5875 #989D58 #589D7F
split-complementary
#5D589D #9D7F58 #759D58
monochromatic
#2F2C4F #464276 #5D589D #817CB6 #A7A4CC

Accessibility & contrast

On white

6.27
#5D589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D589D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D589D#FFFFFF#000000##FFFFFF
##5D589D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#4B6673
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d589d;
/* rgb */ color: rgb(93, 88, 157);
/* oklch */ color: oklch(49.7% 0.108 285.1);
Tailwind
colors: {
  custom: {
    50: '#8e87ba',
    500: '#5d589d',
    950: '#000000',
  },
}
SCSS
$custom: #5d589d;
$custom-light: #8e87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5d589d",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 244.348,
    "s": 28.163,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.108,
    "h": 285.1
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#5D589D
secondary
#B7B997
accent
#C463BD
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5D589D

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

Preview Lab → · Contrast checker → · Palette generator →

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