#5B59E5#5B59E5

#5B59E5 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.206 H 277.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B59E5
RGBrgb(91, 89, 229)
HSLhsl(241, 73%, 62%)
HSVhsv(241, 61%, 90%)
CMYKcmyk(60.3%, 61.1%, 0%, 10.2%)
CIE-LABlab(45.67, 41.30, -70.97)
CIE-LCHlch(45.67, 82.12, 300.20°)
OKLaboklab(54.85% 0.0279 -0.2042)
OKLCHoklch(54.85% 0.206 277.8)
XYZxyz(22.0251, 15.0244, 75.8529)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59E5 #E3E559
analogous
#599DE5 #5B59E5 #A159E5
triadic
#5B59E5 #E55B59 #59E55B
tetradic
#5B59E5 #E5599D #E3E559 #59E5A1
square
#5B59E5 #E5599D #E3E559 #59E5A1
split-complementary
#5B59E5 #E5A159 #9DE559
monochromatic
#1D1AA9 #2724DD #5B59E5 #8F8EED #C4C3F6

Accessibility & contrast

On white

5.24
#5B59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5B59E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59E5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59E5#FFFFFF#000000##FFFFFF
##5B59E51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b59e5;
/* rgb */ color: rgb(91, 89, 229);
/* oklch */ color: oklch(54.9% 0.206 277.8);
Tailwind
colors: {
  custom: {
    50: '#9788ee',
    500: '#5b59e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b59e5;
$custom-light: #9788ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59e5",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 240.857,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.20612,
    "h": 277.8
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#5B59E5
secondary
#E6E6B3
accent
#D510D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5B59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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