#5A64E8#5A64E8

#5A64E8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.9% C 0.197 H 275.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A64E8
RGBrgb(90, 100, 232)
HSLhsl(236, 76%, 63%)
HSVhsv(236, 61%, 91%)
CMYKcmyk(61.2%, 56.9%, 0%, 9%)
CIE-LABlab(48.40, 35.49, -68.22)
CIE-LCHlch(48.40, 76.90, 297.48°)
OKLaboklab(56.93% 0.0171 -0.1961)
OKLCHoklch(56.93% 0.197 275)
XYZxyz(23.3343, 17.1123, 78.4016)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64E8 #E8DE5A
analogous
#5AABE8 #5A64E8 #975AE8
triadic
#5A64E8 #E85A64 #64E85A
tetradic
#5A64E8 #E85AAB #E8DE5A #5AE897
square
#5A64E8 #E85AAB #E8DE5A #5AE897
split-complementary
#5A64E8 #E8975A #ABE85A
monochromatic
#1823AF #2432E1 #5A64E8 #9096EF #C5C9F7

Accessibility & contrast

On white

4.75
#5A64E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5A64E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64E8#FFFFFF#000000##FFFFFF
##5A64E81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a64e8;
/* rgb */ color: rgb(90, 100, 232);
/* oklch */ color: oklch(56.9% 0.197 275.0);
Tailwind
colors: {
  custom: {
    50: '#9690f0',
    500: '#5a64e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a64e8;
$custom-light: #9690f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64e8",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 235.775,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56925,
    "c": 0.19682,
    "h": 275
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#5A64E8
secondary
#E8E5B5
accent
#C90ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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