#5D64EA#5D64EA

#5D64EA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.199 H 275.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5D64EA
RGBrgb(93, 100, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 60%, 92%)
CMYKcmyk(60.3%, 57.3%, 0%, 8.2%)
CIE-LABlab(48.74, 36.64, -68.80)
CIE-LCHlch(48.74, 77.94, 298.04°)
OKLaboklab(57.27% 0.0204 -0.1977)
OKLCHoklch(57.27% 0.199 275.9)
XYZxyz(23.9178, 17.3801, 79.9203)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64EA #EAE35D
analogous
#5DABEA #5D64EA #9D5DEA
triadic
#5D64EA #EA5D64 #64EA5D
tetradic
#5D64EA #EA5DAB #EAE35D #5DEA9D
square
#5D64EA #EA5DAB #EAE35D #5DEA9D
split-complementary
#5D64EA #EA9D5D #ABEA5D
monochromatic
#171FB5 #2730E3 #5D64EA #9398F1 #C9CCF8

Accessibility & contrast

On white

4.69
#5D64EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5D64EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64EA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64EA#FFFFFF#000000##FFFFFF
##5D64EA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d64ea;
/* rgb */ color: rgb(93, 100, 234);
/* oklch */ color: oklch(57.3% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#9890f2',
    500: '#5d64ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d64ea;
$custom-light: #9890f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64ea",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 237.021,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.19874,
    "h": 275.9
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#5D64EA
secondary
#EAE8B9
accent
#CF0CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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