#5E64DA#5E64DA

#5E64DA is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.177 H 276.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5E64DA
RGBrgb(94, 100, 218)
HSLhsl(237, 63%, 61%)
HSVhsv(237, 57%, 85%)
CMYKcmyk(56.9%, 54.1%, 0%, 14.5%)
CIE-LABlab(47.69, 31.63, -61.44)
CIE-LCHlch(47.69, 69.11, 297.24°)
OKLaboklab(56.16% 0.0212 -0.176)
OKLCHoklch(56.16% 0.177 276.9)
XYZxyz(21.8241, 16.5544, 68.3614)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E64DA #DAD45E
analogous
#5EA2DA #5E64DA #965EDA
triadic
#5E64DA #DA5E64 #64DA5E
tetradic
#5E64DA #DA5EA2 #DAD45E #5EDA96
square
#5E64DA #DA5EA2 #DAD45E #5EDA96
split-complementary
#5E64DA #DA965E #A2DA5E
monochromatic
#23299A #2F36CC #5E64DA #9094E5 #C2C4F1

Accessibility & contrast

On white

4.87
#5E64DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5E64DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E64DA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E64DA#FFFFFF#000000##FFFFFF
##5E64DA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1576DE
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#117F95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e64da;
/* rgb */ color: rgb(94, 100, 218);
/* oklch */ color: oklch(56.2% 0.177 276.9);
Tailwind
colors: {
  custom: {
    50: '#9690e6',
    500: '#5e64da',
    950: '#000000',
  },
}
SCSS
$custom: #5e64da;
$custom-light: #9690e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e64da",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 237.097,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.17729,
    "h": 276.9
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#5E64DA
secondary
#E1DFB3
accent
#C21BCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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