#5A64ED#5A64ED

#5A64ED is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.3% C 0.203 H 274.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A64ED
RGBrgb(90, 100, 237)
HSLhsl(236, 80%, 64%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(62%, 57.8%, 0%, 7.1%)
CIE-LABlab(48.76, 37.13, -70.45)
CIE-LCHlch(48.76, 79.64, 297.79°)
OKLaboklab(57.3% 0.0171 -0.2026)
OKLCHoklch(57.3% 0.203 274.8)
XYZxyz(24.0547, 17.4004, 82.1953)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64ED #EDE35A
analogous
#5AAEED #5A64ED #9A5AED
triadic
#5A64ED #ED5A64 #64ED5A
tetradic
#5A64ED #ED5AAE #EDE35A #5AED9A
square
#5A64ED #ED5AAE #EDE35A #5AED9A
split-complementary
#5A64ED #ED9A5A #AEED5A
monochromatic
#141FB8 #2330E7 #5A64ED #9198F3 #C8CCF9

Accessibility & contrast

On white

4.69
#5A64ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5A64ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64ED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64ED#FFFFFF#000000##FFFFFF
##5A64ED1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a64ed;
/* rgb */ color: rgb(90, 100, 237);
/* oklch */ color: oklch(57.3% 0.203 274.8);
Tailwind
colors: {
  custom: {
    50: '#9790f4',
    500: '#5a64ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ed;
$custom-light: #9790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ed",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 235.918,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.20335,
    "h": 274.8
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#5A64ED
secondary
#EBE8B8
accent
#CE09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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