#5A64EB#5A64EB

#5A64EB is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.2% C 0.201 H 274.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A64EB
RGBrgb(90, 100, 235)
HSLhsl(236, 78%, 64%)
HSVhsv(236, 62%, 92%)
CMYKcmyk(61.7%, 57.4%, 0%, 7.8%)
CIE-LABlab(48.62, 36.47, -69.56)
CIE-LCHlch(48.62, 78.54, 297.67°)
OKLaboklab(57.15% 0.0171 -0.2)
OKLCHoklch(57.15% 0.201 274.9)
XYZxyz(23.7641, 17.2842, 80.6650)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64EB #EBE15A
analogous
#5AACEB #5A64EB #985AEB
triadic
#5A64EB #EB5A64 #64EB5A
tetradic
#5A64EB #EB5AAC #EBE15A #5AEB98
square
#5A64EB #EB5AAC #EBE15A #5AEB98
split-complementary
#5A64EB #EB985A #ACEB5A
monochromatic
#1621B5 #2331E4 #5A64EB #9197F2 #C7CBF8

Accessibility & contrast

On white

4.71
#5A64EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5A64EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64EB#FFFFFF#000000##FFFFFF
##5A64EB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a64eb;
/* rgb */ color: rgb(90, 100, 235);
/* oklch */ color: oklch(57.2% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#9690f2',
    500: '#5a64eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a64eb;
$custom-light: #9690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64eb",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 235.862,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.20075,
    "h": 274.9
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#5A64EB
secondary
#EAE6B7
accent
#CC0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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