#5B59FF#5B59FF

#5B59FF is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 57.0% C 0.238 H 276.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5B59FF
RGBrgb(91, 89, 255)
HSLhsl(241, 100%, 67%)
HSVhsv(241, 65%, 100%)
CMYKcmyk(64.3%, 65.1%, 0%, 0%)
CIE-LABlab(47.73, 49.57, -82.17)
CIE-LCHlch(47.73, 95.96, 301.10°)
OKLaboklab(57% 0.0259 -0.2371)
OKLCHoklch(57% 0.238 276.2)
XYZxyz(25.9309, 16.5867, 96.4234)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59FF #FDFF59
analogous
#59AAFF #5B59FF #AE59FF
triadic
#5B59FF #FF5B59 #59FF5B
tetradic
#5B59FF #FF59AA #FDFF59 #59FFAE
square
#5B59FF #FF59AA #FDFF59 #59FFAE
split-complementary
#5B59FF #FFAE59 #AAFF59
monochromatic
#0300DE #1F1CFF #5B59FF #9796FF #D4D3FF

Accessibility & contrast

On white

4.86
#5B59FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5B59FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59FF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59FF#FFFFFF#000000##FFFFFF
##5B59FF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b59ff;
/* rgb */ color: rgb(91, 89, 255);
/* oklch */ color: oklch(57.0% 0.238 276.2);
Tailwind
colors: {
  custom: {
    50: '#9b89ff',
    500: '#5b59ff',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ff;
$custom-light: #9b89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ff",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 255
  },
  "hsl": {
    "h": 240.723,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.23849,
    "h": 276.2
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#5B59FF
secondary
#F3F4C0
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B59FF

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

Preview Lab → · Contrast checker → · Palette generator →

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