#5D59EB#5D59EB

#5D59EB is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.5% C 0.213 H 278.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5D59EB
RGBrgb(93, 89, 235)
HSLhsl(242, 78%, 64%)
HSVhsv(242, 62%, 92%)
CMYKcmyk(60.4%, 62.1%, 0%, 7.8%)
CIE-LABlab(46.27, 43.52, -73.37)
CIE-LCHlch(46.27, 85.31, 300.68°)
OKLaboklab(55.47% 0.03 -0.2112)
OKLCHoklch(55.47% 0.213 278.1)
XYZxyz(23.0772, 15.4683, 80.3507)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59EB #E7EB59
analogous
#599EEB #5D59EB #A659EB
triadic
#5D59EB #EB5D59 #59EB5D
tetradic
#5D59EB #EB599E #E7EB59 #59EBA6
square
#5D59EB #EB599E #E7EB59 #59EBA6
split-complementary
#5D59EB #EBA659 #9EEB59
monochromatic
#1A16B4 #2822E4 #5D59EB #9290F2 #C8C6F8

Accessibility & contrast

On white

5.13
#5D59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D59EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59EB#FFFFFF#000000##FFFFFF
##5D59EB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d59eb;
/* rgb */ color: rgb(93, 89, 235);
/* oklch */ color: oklch(55.5% 0.213 278.1);
Tailwind
colors: {
  custom: {
    50: '#9988f2',
    500: '#5d59eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d59eb;
$custom-light: #9988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59eb",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 241.644,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.21332,
    "h": 278.1
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#5D59EB
secondary
#E8EAB6
accent
#DB0BD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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