#5B59BD#5B59BD

#5B59BD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.153 H 280.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5B59BD
RGBrgb(91, 89, 189)
HSLhsl(241, 43%, 55%)
HSVhsv(241, 53%, 74%)
CMYKcmyk(51.9%, 52.9%, 0%, 25.9%)
CIE-LABlab(42.83, 28.53, -52.62)
CIE-LCHlch(42.83, 59.86, 298.47°)
OKLaboklab(51.85% 0.028 -0.1502)
OKLCHoklch(51.85% 0.153 280.5)
XYZxyz(17.0692, 13.0420, 49.7522)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59BD #BBBD59
analogous
#5989BD #5B59BD #8D59BD
triadic
#5B59BD #BD5B59 #59BD5B
tetradic
#5B59BD #BD5989 #BBBD59 #59BD8D
square
#5B59BD #BD5989 #BBBD59 #59BD8D
split-complementary
#5B59BD #BD8D59 #89BD59
monochromatic
#2E2C6F #403E9B #5B59BD #8685CE #B2B1E0

Accessibility & contrast

On white

5.82
#5B59BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5B59BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59BD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59BD#FFFFFF#000000##FFFFFF
##5B59BD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C0
Deuteranopia (green-blind)
#1761BB
Tritanopia (blue-blind)
#336F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b59bd;
/* rgb */ color: rgb(91, 89, 189);
/* oklch */ color: oklch(51.8% 0.153 280.5);
Tailwind
colors: {
  custom: {
    50: '#9088d1',
    500: '#5b59bd',
    950: '#000000',
  },
}
SCSS
$custom: #5b59bd;
$custom-light: #9088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59bd",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 241.2,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.15282,
    "h": 280.5
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#5B59BD
secondary
#CDCEA4
accent
#D355D0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5B59BD

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

Preview Lab → · Contrast checker → · Palette generator →

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