#5A64F4#5A64F4

#5A64F4 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.8% C 0.212 H 274.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A64F4
RGBrgb(90, 100, 244)
HSLhsl(236, 88%, 65%)
HSVhsv(236, 63%, 96%)
CMYKcmyk(63.1%, 59%, 0%, 4.3%)
CIE-LABlab(49.27, 39.42, -73.53)
CIE-LCHlch(49.27, 83.43, 298.20°)
OKLaboklab(57.85% 0.017 -0.2117)
OKLCHoklch(57.85% 0.212 274.6)
XYZxyz(25.0974, 17.8175, 87.6870)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64F4 #F4EA5A
analogous
#5AB1F4 #5A64F4 #9D5AF4
triadic
#5A64F4 #F45A64 #64F45A
tetradic
#5A64F4 #F45AB1 #F4EA5A #5AF49D
square
#5A64F4 #F45AB1 #F4EA5A #5AF49D
split-complementary
#5A64F4 #F49D5A #B1F45A
monochromatic
#0D19C6 #212EF0 #5A64F4 #939AF8 #CDD0FC

Accessibility & contrast

On white

4.60
#5A64F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5A64F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64F4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64F4#FFFFFF#000000##FFFFFF
##5A64F41.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#006EF1
Tritanopia (blue-blind)
#0087A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a64f4;
/* rgb */ color: rgb(90, 100, 244);
/* oklch */ color: oklch(57.8% 0.212 274.6);
Tailwind
colors: {
  custom: {
    50: '#9890f9',
    500: '#5a64f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a64f4;
$custom-light: #9890f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64f4",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 236.104,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.21237,
    "h": 274.6
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#5A64F4
secondary
#EFEBBB
accent
#D501E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A64F4

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

Preview Lab → · Contrast checker → · Palette generator →

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