#5A64EF#5A64EF

#5A64EF is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.5% C 0.206 H 274.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5A64EF
RGBrgb(90, 100, 239)
HSLhsl(236, 82%, 65%)
HSVhsv(236, 62%, 94%)
CMYKcmyk(62.3%, 58.2%, 0%, 6.3%)
CIE-LABlab(48.91, 37.78, -71.34)
CIE-LCHlch(48.91, 80.72, 297.91°)
OKLaboklab(57.46% 0.0171 -0.2052)
OKLCHoklch(57.46% 0.206 274.8)
XYZxyz(24.3485, 17.5180, 83.7428)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64EF #EFE55A
analogous
#5AAFEF #5A64EF #9B5AEF
triadic
#5A64EF #EF5A64 #64EF5A
tetradic
#5A64EF #EF5AAF #EFE55A #5AEF9B
square
#5A64EF #EF5AAF #EFE55A #5AEF9B
split-complementary
#5A64EF #EF9B5A #AFEF5A
monochromatic
#121EBC #2230EA #5A64EF #9298F4 #CACDFA

Accessibility & contrast

On white

4.66
#5A64EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5A64EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64EF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64EF#FFFFFF#000000##FFFFFF
##5A64EF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#0086A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a64ef;
/* rgb */ color: rgb(90, 100, 239);
/* oklch */ color: oklch(57.5% 0.206 274.8);
Tailwind
colors: {
  custom: {
    50: '#9790f5',
    500: '#5a64ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ef;
$custom-light: #9790f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ef",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 235.973,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.20594,
    "h": 274.8
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#5A64EF
secondary
#ECE9B9
accent
#D007DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A64EF

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

Preview Lab → · Contrast checker → · Palette generator →

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