#5B59DB#5B59DB

#5B59DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.193 H 278.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B59DB
RGBrgb(91, 89, 219)
HSLhsl(241, 64%, 60%)
HSVhsv(241, 59%, 86%)
CMYKcmyk(58.4%, 59.4%, 0%, 14.1%)
CIE-LABlab(44.92, 38.10, -66.52)
CIE-LCHlch(44.92, 76.66, 299.81°)
OKLaboklab(54.07% 0.0284 -0.1911)
OKLCHoklch(54.07% 0.193 278.4)
XYZxyz(20.6689, 14.4819, 68.7102)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59DB #D9DB59
analogous
#5998DB #5B59DB #9C59DB
triadic
#5B59DB #DB5B59 #59DB5B
tetradic
#5B59DB #DB5998 #D9DB59 #59DB9C
square
#5B59DB #DB5998 #D9DB59 #59DB9C
split-complementary
#5B59DB #DB9C59 #98DB59
monochromatic
#232199 #2E2CCB #5B59DB #8D8BE6 #BEBEF1

Accessibility & contrast

On white

5.39
#5B59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5B59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59DB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59DB#FFFFFF#000000##FFFFFF
##5B59DB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b59db;
/* rgb */ color: rgb(91, 89, 219);
/* oklch */ color: oklch(54.1% 0.193 278.4);
Tailwind
colors: {
  custom: {
    50: '#9588e7',
    500: '#5b59db',
    950: '#000000',
  },
}
SCSS
$custom: #5b59db;
$custom-light: #9588e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59db",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 240.923,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.19322,
    "h": 278.4
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#5B59DB
secondary
#E0E1AF
accent
#CC19C9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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