#5A64E6#5A64E6

#5A64E6 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.194 H 275.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5A64E6
RGBrgb(90, 100, 230)
HSLhsl(236, 74%, 63%)
HSVhsv(236, 61%, 90%)
CMYKcmyk(60.9%, 56.5%, 0%, 9.8%)
CIE-LABlab(48.26, 34.83, -67.33)
CIE-LCHlch(48.26, 75.81, 297.36°)
OKLaboklab(56.77% 0.017 -0.1934)
OKLCHoklch(56.77% 0.194 275)
XYZxyz(23.0519, 16.9993, 76.9140)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64E6 #E6DC5A
analogous
#5AAAE6 #5A64E6 #965AE6
triadic
#5A64E6 #E65A64 #64E65A
tetradic
#5A64E6 #E65AAA #E6DC5A #5AE696
square
#5A64E6 #E65AAA #E6DC5A #5AE696
split-complementary
#5A64E6 #E6965A #AAE65A
monochromatic
#1A24AC #2532DE #5A64E6 #8F96EE #C4C8F6

Accessibility & contrast

On white

4.77
#5A64E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5A64E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64E6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64E6#FFFFFF#000000##FFFFFF
##5A64E61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a64e6;
/* rgb */ color: rgb(90, 100, 230);
/* oklch */ color: oklch(56.8% 0.194 275.0);
Tailwind
colors: {
  custom: {
    50: '#9690ef',
    500: '#5a64e6',
    950: '#000000',
  },
}
SCSS
$custom: #5a64e6;
$custom-light: #9690ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64e6",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 235.714,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.19419,
    "h": 275
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#5A64E6
secondary
#E7E4B5
accent
#C810D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5A64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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