#5A64DC#5A64DC

#5A64DC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.181 H 275.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A64DC
RGBrgb(90, 100, 220)
HSLhsl(235, 65%, 61%)
HSVhsv(235, 59%, 86%)
CMYKcmyk(59.1%, 54.5%, 0%, 13.7%)
CIE-LABlab(47.56, 31.55, -62.80)
CIE-LCHlch(47.56, 70.28, 296.68°)
OKLaboklab(56.04% 0.0168 -0.1801)
OKLCHoklch(56.04% 0.181 275.3)
XYZxyz(21.6877, 16.4537, 69.7293)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64DC #DCD25A
analogous
#5AA5DC #5A64DC #915ADC
triadic
#5A64DC #DC5A64 #64DC5A
tetradic
#5A64DC #DC5AA5 #DCD25A #5ADC91
square
#5A64DC #DC5AA5 #DCD25A #5ADC91
split-complementary
#5A64DC #DC915A #A5DC5A
monochromatic
#212A9B #2C38CD #5A64DC #8C93E7 #BFC3F1

Accessibility & contrast

On white

4.89
#5A64DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5A64DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64DC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64DC#FFFFFF#000000##FFFFFF
##5A64DC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A77E0
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a64dc;
/* rgb */ color: rgb(90, 100, 220);
/* oklch */ color: oklch(56.0% 0.181 275.3);
Tailwind
colors: {
  custom: {
    50: '#9490e8',
    500: '#5a64dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a64dc;
$custom-light: #9490e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64dc",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 235.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.1809,
    "h": 275.3
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#5A64DC
secondary
#E2DEB0
accent
#BF19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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