#5E59E6#5E59E6

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

Color values

HEX#5E59E6
RGBrgb(94, 89, 230)
HSLhsl(242, 74%, 63%)
HSVhsv(242, 61%, 90%)
CMYKcmyk(59.1%, 61.3%, 0%, 9.8%)
CIE-LABlab(45.96, 42.10, -71.06)
CIE-LCHlch(45.96, 82.60, 300.65°)
OKLaboklab(55.14% 0.0315 -0.2044)
OKLCHoklch(55.14% 0.207 278.7)
XYZxyz(22.4668, 15.2360, 76.6045)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59E6 #E1E659
analogous
#599AE6 #5E59E6 #A559E6
triadic
#5E59E6 #E65E59 #59E65E
tetradic
#5E59E6 #E6599A #E1E659 #59E6A5
square
#5E59E6 #E6599A #E1E659 #59E6A5
split-complementary
#5E59E6 #E6A559 #9AE659
monochromatic
#1F1AAB #2A24DE #5E59E6 #928EEE #C5C3F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E59E6#FFFFFF#000000##FFFFFF
##5E59E61.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)
#0073EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e59e6;
/* rgb */ color: rgb(94, 89, 230);
/* oklch */ color: oklch(55.1% 0.207 278.7);
Tailwind
colors: {
  custom: {
    50: '#9888ef',
    500: '#5e59e6',
    950: '#000000',
  },
}
SCSS
$custom: #5e59e6;
$custom-light: #9888ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59e6",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 242.128,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.2068,
    "h": 278.7
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#5E59E6
secondary
#E5E7B4
accent
#D610CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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