#5D59E7#5D59E7

#5D59E7 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.208 H 278.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5D59E7
RGBrgb(93, 89, 231)
HSLhsl(242, 75%, 63%)
HSVhsv(242, 61%, 91%)
CMYKcmyk(59.7%, 61.5%, 0%, 9.4%)
CIE-LABlab(45.96, 42.26, -71.62)
CIE-LCHlch(45.96, 83.16, 300.54°)
OKLaboklab(55.15% 0.0302 -0.2061)
OKLCHoklch(55.15% 0.208 278.3)
XYZxyz(22.5058, 15.2398, 77.3414)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59E7 #E3E759
analogous
#599CE7 #5D59E7 #A459E7
triadic
#5D59E7 #E75D59 #59E75D
tetradic
#5D59E7 #E7599C #E3E759 #59E7A4
square
#5D59E7 #E7599C #E3E759 #59E7A4
split-complementary
#5D59E7 #E7A459 #9CE759
monochromatic
#1D19AD #2924DF #5D59E7 #918EEF #C5C4F6

Accessibility & contrast

On white

5.19
#5D59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5D59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59E7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59E7#FFFFFF#000000##FFFFFF
##5D59E71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d59e7;
/* rgb */ color: rgb(93, 89, 231);
/* oklch */ color: oklch(55.2% 0.208 278.3);
Tailwind
colors: {
  custom: {
    50: '#9888f0',
    500: '#5d59e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d59e7;
$custom-light: #9888f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59e7",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 241.69,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.20826,
    "h": 278.3
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#5D59E7
secondary
#E6E8B4
accent
#D70FD1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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