#5D59E5#5D59E5

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

Color values

HEX#5D59E5
RGBrgb(93, 89, 229)
HSLhsl(242, 73%, 62%)
HSVhsv(242, 61%, 90%)
CMYKcmyk(59.4%, 61.1%, 0%, 10.2%)
CIE-LABlab(45.81, 41.62, -70.74)
CIE-LCHlch(45.81, 82.08, 300.47°)
OKLaboklab(54.99% 0.0303 -0.2035)
OKLCHoklch(54.99% 0.206 278.5)
XYZxyz(22.2249, 15.1274, 75.8623)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59E5 #E1E559
analogous
#599BE5 #5D59E5 #A359E5
triadic
#5D59E5 #E55D59 #59E55D
tetradic
#5D59E5 #E5599B #E1E559 #59E5A3
square
#5D59E5 #E5599B #E1E559 #59E5A3
split-complementary
#5D59E5 #E5A359 #9BE559
monochromatic
#1F1AA9 #2924DD #5D59E5 #918EED #C4C3F6

Accessibility & contrast

On white

5.22
#5D59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D59E5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59E5#FFFFFF#000000##FFFFFF
##5D59E51.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d59e5;
/* rgb */ color: rgb(93, 89, 229);
/* oklch */ color: oklch(55.0% 0.206 278.5);
Tailwind
colors: {
  custom: {
    50: '#9888ee',
    500: '#5d59e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d59e5;
$custom-light: #9888ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59e5",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 241.714,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.20572,
    "h": 278.5
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#5D59E5
secondary
#E5E6B3
accent
#D510CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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