#5B59E7#5B59E7

#5B59E7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.0% C 0.209 H 277.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5B59E7
RGBrgb(91, 89, 231)
HSLhsl(241, 75%, 63%)
HSVhsv(241, 61%, 91%)
CMYKcmyk(60.6%, 61.5%, 0%, 9.4%)
CIE-LABlab(45.82, 41.94, -71.85)
CIE-LCHlch(45.82, 83.20, 300.27°)
OKLaboklab(55.01% 0.0278 -0.2068)
OKLCHoklch(55.01% 0.209 277.7)
XYZxyz(22.3059, 15.1367, 77.3320)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59E7 #E5E759
analogous
#599EE7 #5B59E7 #A259E7
triadic
#5B59E7 #E75B59 #59E75B
tetradic
#5B59E7 #E7599E #E5E759 #59E7A2
square
#5B59E7 #E7599E #E5E759 #59E7A2
split-complementary
#5B59E7 #E7A259 #9EE759
monochromatic
#1B19AD #2624DF #5B59E7 #908EEF #C5C4F6

Accessibility & contrast

On white

5.21
#5B59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5B59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59E7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59E7#FFFFFF#000000##FFFFFF
##5B59E71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b59e7;
/* rgb */ color: rgb(91, 89, 231);
/* oklch */ color: oklch(55.0% 0.209 277.7);
Tailwind
colors: {
  custom: {
    50: '#9788f0',
    500: '#5b59e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b59e7;
$custom-light: #9788f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59e7",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 240.845,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.20867,
    "h": 277.7
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#5B59E7
secondary
#E7E8B4
accent
#D70FD4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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