#5D59E6#5D59E6

#5D59E6 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.207 H 278.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5D59E6
RGBrgb(93, 89, 230)
HSLhsl(242, 74%, 63%)
HSVhsv(242, 61%, 90%)
CMYKcmyk(59.6%, 61.3%, 0%, 9.8%)
CIE-LABlab(45.88, 41.94, -71.18)
CIE-LCHlch(45.88, 82.62, 300.51°)
OKLaboklab(55.07% 0.0303 -0.2048)
OKLCHoklch(55.07% 0.207 278.4)
XYZxyz(22.3649, 15.1834, 76.5997)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59E6 #E2E659
analogous
#599CE6 #5D59E6 #A359E6
triadic
#5D59E6 #E65D59 #59E65D
tetradic
#5D59E6 #E6599C #E2E659 #59E6A3
square
#5D59E6 #E6599C #E2E659 #59E6A3
split-complementary
#5D59E6 #E6A359 #9CE659
monochromatic
#1E1AAB #2924DE #5D59E6 #918EEE #C5C3F6

Accessibility & contrast

On white

5.20
#5D59E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5D59E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59E6#FFFFFF#000000##FFFFFF
##5D59E61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d59e6;
/* rgb */ color: rgb(93, 89, 230);
/* oklch */ color: oklch(55.1% 0.207 278.4);
Tailwind
colors: {
  custom: {
    50: '#9888ef',
    500: '#5d59e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d59e6;
$custom-light: #9888ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59e6",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 241.702,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.20699,
    "h": 278.4
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#5D59E6
secondary
#E6E7B4
accent
#D610D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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