#5D64EB#5D64EB

#5D64EB is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.3% C 0.200 H 275.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D64EB
RGBrgb(93, 100, 235)
HSLhsl(237, 78%, 64%)
HSVhsv(237, 60%, 92%)
CMYKcmyk(60.4%, 57.4%, 0%, 7.8%)
CIE-LABlab(48.81, 36.96, -69.24)
CIE-LCHlch(48.81, 78.49, 298.09°)
OKLaboklab(57.34% 0.0204 -0.199)
OKLCHoklch(57.34% 0.2 275.8)
XYZxyz(24.0619, 17.4378, 80.6790)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64EB #EBE45D
analogous
#5DABEB #5D64EB #9D5DEB
triadic
#5D64EB #EB5D64 #64EB5D
tetradic
#5D64EB #EB5DAB #EBE45D #5DEB9D
square
#5D64EB #EB5DAB #EBE45D #5DEB9D
split-complementary
#5D64EB #EB9D5D #ABEB5D
monochromatic
#171FB7 #2730E4 #5D64EB #9398F2 #CACCF8

Accessibility & contrast

On white

4.68
#5D64EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5D64EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64EB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64EB#FFFFFF#000000##FFFFFF
##5D64EB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d64eb;
/* rgb */ color: rgb(93, 100, 235);
/* oklch */ color: oklch(57.3% 0.200 275.8);
Tailwind
colors: {
  custom: {
    50: '#9890f2',
    500: '#5d64eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d64eb;
$custom-light: #9890f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64eb",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 237.042,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.20004,
    "h": 275.8
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#5D64EB
secondary
#EBE8B9
accent
#D00BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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