#5E59EB#5E59EB

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

Color values

HEX#5E59EB
RGBrgb(94, 89, 235)
HSLhsl(242, 78%, 64%)
HSVhsv(242, 62%, 92%)
CMYKcmyk(60%, 62.1%, 0%, 7.8%)
CIE-LABlab(46.34, 43.68, -73.26)
CIE-LCHlch(46.34, 85.29, 300.81°)
OKLaboklab(55.54% 0.0311 -0.2108)
OKLCHoklch(55.54% 0.213 278.4)
XYZxyz(23.1791, 15.5209, 80.3555)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59EB #E6EB59
analogous
#599DEB #5E59EB #A759EB
triadic
#5E59EB #EB5E59 #59EB5E
tetradic
#5E59EB #EB599D #E6EB59 #59EBA7
square
#5E59EB #EB599D #E6EB59 #59EBA7
split-complementary
#5E59EB #EBA759 #9DEB59
monochromatic
#1B16B4 #2922E4 #5E59EB #9390F2 #C8C6F8

Accessibility & contrast

On white

5.12
#5E59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E59EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59EB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59EB#FFFFFF#000000##FFFFFF
##5E59EB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e59eb;
/* rgb */ color: rgb(94, 89, 235);
/* oklch */ color: oklch(55.5% 0.213 278.4);
Tailwind
colors: {
  custom: {
    50: '#9988f2',
    500: '#5e59eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e59eb;
$custom-light: #9988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59eb",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 242.055,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.21313,
    "h": 278.4
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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