#5B59D2#5B59D2

#5B59D2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.181 H 279.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5B59D2
RGBrgb(91, 89, 210)
HSLhsl(241, 57%, 59%)
HSVhsv(241, 58%, 82%)
CMYKcmyk(56.7%, 57.6%, 0%, 17.6%)
CIE-LABlab(44.26, 35.22, -62.44)
CIE-LCHlch(44.26, 71.69, 299.43°)
OKLaboklab(53.38% 0.0285 -0.1791)
OKLCHoklch(53.38% 0.181 279)
XYZxyz(19.5159, 14.0207, 62.6381)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59D2 #D0D259
analogous
#5993D2 #5B59D2 #9759D2
triadic
#5B59D2 #D25B59 #59D25B
tetradic
#5B59D2 #D25993 #D0D259 #59D297
square
#5B59D2 #D25993 #D0D259 #59D297
split-complementary
#5B59D2 #D29759 #93D259
monochromatic
#27268B #3533BB #5B59D2 #8B89DF #BAB9EC

Accessibility & contrast

On white

5.52
#5B59D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5B59D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59D2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59D2#FFFFFF#000000##FFFFFF
##5B59D21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#17768D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b59d2;
/* rgb */ color: rgb(91, 89, 210);
/* oklch */ color: oklch(53.4% 0.181 279.0);
Tailwind
colors: {
  custom: {
    50: '#9488e1',
    500: '#5b59d2',
    950: '#000000',
  },
}
SCSS
$custom: #5b59d2;
$custom-light: #9488e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59d2",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 240.992,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.18137,
    "h": 279
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#5B59D2
secondary
#DBDBAB
accent
#E147DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59D2

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

Preview Lab → · Contrast checker → · Palette generator →

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