#5A64EC#5A64EC

#5A64EC is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.2% C 0.202 H 274.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A64EC
RGBrgb(90, 100, 236)
HSLhsl(236, 79%, 64%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(61.9%, 57.6%, 0%, 7.5%)
CIE-LABlab(48.69, 36.80, -70.01)
CIE-LCHlch(48.69, 79.09, 297.73°)
OKLaboklab(57.23% 0.0171 -0.2013)
OKLCHoklch(57.23% 0.202 274.8)
XYZxyz(23.9090, 17.3422, 81.4280)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64EC #ECE25A
analogous
#5AADEC #5A64EC #995AEC
triadic
#5A64EC #EC5A64 #64EC5A
tetradic
#5A64EC #EC5AAD #ECE25A #5AEC99
square
#5A64EC #EC5AAD #ECE25A #5AEC99
split-complementary
#5A64EC #EC995A #ADEC5A
monochromatic
#1520B7 #2330E6 #5A64EC #9198F2 #C8CBF9

Accessibility & contrast

On white

4.70
#5A64EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5A64EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64EC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64EC#FFFFFF#000000##FFFFFF
##5A64EC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a64ec;
/* rgb */ color: rgb(90, 100, 236);
/* oklch */ color: oklch(57.2% 0.202 274.8);
Tailwind
colors: {
  custom: {
    50: '#9790f3',
    500: '#5a64ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ec;
$custom-light: #9790f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ec",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 235.89,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.20204,
    "h": 274.8
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#5A64EC
secondary
#EBE7B7
accent
#CD0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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