#5A64EA#5A64EA

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

Color values

HEX#5A64EA
RGBrgb(90, 100, 234)
HSLhsl(236, 77%, 64%)
HSVhsv(236, 62%, 92%)
CMYKcmyk(61.5%, 57.3%, 0%, 8.2%)
CIE-LABlab(48.54, 36.14, -69.12)
CIE-LCHlch(48.54, 78.00, 297.61°)
OKLaboklab(57.08% 0.0171 -0.1987)
OKLCHoklch(57.08% 0.199 274.9)
XYZxyz(23.6200, 17.2266, 79.9063)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64EA #EAE05A
analogous
#5AACEA #5A64EA #985AEA
triadic
#5A64EA #EA5A64 #64EA5A
tetradic
#5A64EA #EA5AAC #EAE05A #5AEA98
square
#5A64EA #EA5AAC #EAE05A #5AEA98
split-complementary
#5A64EA #EA985A #ACEA5A
monochromatic
#1722B3 #2431E3 #5A64EA #9097F1 #C7CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A64EA#FFFFFF#000000##FFFFFF
##5A64EA1.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)
#007AEE
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a64ea;
/* rgb */ color: rgb(90, 100, 234);
/* oklch */ color: oklch(57.1% 0.199 274.9);
Tailwind
colors: {
  custom: {
    50: '#9690f2',
    500: '#5a64ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ea;
$custom-light: #9690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ea",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 235.833,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.19944,
    "h": 274.9
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

primary
#5A64EA
secondary
#E9E6B6
accent
#CB0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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