#5A64CA#5A64CA

#5A64CA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.156 H 275.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A64CA
RGBrgb(90, 100, 202)
HSLhsl(235, 51%, 57%)
HSVhsv(235, 55%, 79%)
CMYKcmyk(55.4%, 50.5%, 0%, 20.8%)
CIE-LABlab(46.38, 25.67, -54.43)
CIE-LCHlch(46.38, 60.18, 295.25°)
OKLaboklab(54.77% 0.0157 -0.1555)
OKLCHoklch(54.77% 0.156 275.8)
XYZxyz(19.4309, 15.5509, 57.8434)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64CA #CAC05A
analogous
#5A9CCA #5A64CA #885ACA
triadic
#5A64CA #CA5A64 #64CA5A
tetradic
#5A64CA #CA5A9C #CAC05A #5ACA88
square
#5A64CA #CA5A9C #CAC05A #5ACA88
split-complementary
#5A64CA #CA885A #9CCA5A
monochromatic
#293180 #3843AF #5A64CA #8890D9 #B7BBE8

Accessibility & contrast

On white

5.11
#5A64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5A64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64CA#FFFFFF#000000##FFFFFF
##5A64CA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#1E7B8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a64ca;
/* rgb */ color: rgb(90, 100, 202);
/* oklch */ color: oklch(54.8% 0.156 275.8);
Tailwind
colors: {
  custom: {
    50: '#9190db',
    500: '#5a64ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ca;
$custom-light: #9190db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ca",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 234.643,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.15629,
    "h": 275.8
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#5A64CA
secondary
#D7D3A9
accent
#CE4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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