#5E63EA#5E63EA

#5E63EA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.2% C 0.200 H 276.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5E63EA
RGBrgb(94, 99, 234)
HSLhsl(238, 77%, 64%)
HSVhsv(238, 60%, 92%)
CMYKcmyk(59.8%, 57.7%, 0%, 8.2%)
CIE-LABlab(48.56, 37.41, -69.07)
CIE-LCHlch(48.56, 78.55, 298.44°)
OKLaboklab(57.16% 0.0224 -0.1985)
OKLCHoklch(57.16% 0.2 276.4)
XYZxyz(23.9244, 17.2420, 79.8933)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E63EA #EAE55E
analogous
#5EA9EA #5E63EA #9F5EEA
triadic
#5E63EA #EA5E63 #63EA5E
tetradic
#5E63EA #EA5EA9 #EAE55E #5EEA9F
square
#5E63EA #EA5EA9 #EAE55E #5EEA9F
split-complementary
#5E63EA #EA9F5E #A9EA5E
monochromatic
#181DB6 #282FE3 #5E63EA #9497F1 #CACCF8

Accessibility & contrast

On white

4.72
#5E63EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5E63EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E63EA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E63EA#FFFFFF#000000##FFFFFF
##5E63EA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e63ea;
/* rgb */ color: rgb(94, 99, 234);
/* oklch */ color: oklch(57.2% 0.200 276.4);
Tailwind
colors: {
  custom: {
    50: '#988ff2',
    500: '#5e63ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e63ea;
$custom-light: #988ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e63ea",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 237.857,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.19975,
    "h": 276.4
  },
  "luminance": 0.17244
}

Semantic roles & 50–950 ramp

primary
#5E63EA
secondary
#EAE8BA
accent
#D20CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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