#5D59ED#5D59ED

#5D59ED is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.216 H 277.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5D59ED
RGBrgb(93, 89, 237)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(60.8%, 62.4%, 0%, 7.1%)
CIE-LABlab(46.42, 44.16, -74.25)
CIE-LCHlch(46.42, 86.38, 300.74°)
OKLaboklab(55.64% 0.0298 -0.2138)
OKLCHoklch(55.64% 0.216 277.9)
XYZxyz(23.3677, 15.5845, 81.8811)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59ED #E9ED59
analogous
#599FED #5D59ED #A759ED
triadic
#5D59ED #ED5D59 #59ED5D
tetradic
#5D59ED #ED599F #E9ED59 #59EDA7
square
#5D59ED #ED599F #E9ED59 #59EDA7
split-complementary
#5D59ED #EDA759 #9FED59
monochromatic
#1814B8 #2722E7 #5D59ED #9390F3 #C9C7F9

Accessibility & contrast

On white

5.10
#5D59ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D59ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59ED
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59ED#FFFFFF#000000##FFFFFF
##5D59ED1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d59ed;
/* rgb */ color: rgb(93, 89, 237);
/* oklch */ color: oklch(55.6% 0.216 277.9);
Tailwind
colors: {
  custom: {
    50: '#9988f4',
    500: '#5d59ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d59ed;
$custom-light: #9988f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59ed",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 241.622,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.21584,
    "h": 277.9
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#5D59ED
secondary
#E9EBB7
accent
#DD09D7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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