#5B59DA#5B59DA

#5B59DA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.192 H 278.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B59DA
RGBrgb(91, 89, 218)
HSLhsl(241, 64%, 60%)
HSVhsv(241, 59%, 85%)
CMYKcmyk(58.3%, 59.2%, 0%, 14.5%)
CIE-LABlab(44.84, 37.78, -66.07)
CIE-LCHlch(44.84, 76.11, 299.76°)
OKLaboklab(53.99% 0.0284 -0.1898)
OKLCHoklch(53.99% 0.192 278.5)
XYZxyz(20.5376, 14.4294, 68.0190)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59DA #D8DA59
analogous
#5998DA #5B59DA #9B59DA
triadic
#5B59DA #DA5B59 #59DA5B
tetradic
#5B59DA #DA5998 #D8DA59 #59DA9B
square
#5B59DA #DA5998 #D8DA59 #59DA9B
split-complementary
#5B59DA #DA9B59 #98DA59
monochromatic
#232297 #2F2DC9 #5B59DA #8C8BE5 #BEBDF0

Accessibility & contrast

On white

5.40
#5B59DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5B59DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59DA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59DA#FFFFFF#000000##FFFFFF
##5B59DA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b59da;
/* rgb */ color: rgb(91, 89, 218);
/* oklch */ color: oklch(54.0% 0.192 278.5);
Tailwind
colors: {
  custom: {
    50: '#9588e6',
    500: '#5b59da',
    950: '#000000',
  },
}
SCSS
$custom: #5b59da;
$custom-light: #9588e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59da",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 240.93,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.19191,
    "h": 278.5
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#5B59DA
secondary
#DFE0AF
accent
#CB1AC9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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