#5A64E1#5A64E1

#5A64E1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.188 H 275.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A64E1
RGBrgb(90, 100, 225)
HSLhsl(236, 69%, 62%)
HSVhsv(236, 60%, 88%)
CMYKcmyk(60%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.91, 33.19, -65.07)
CIE-LCHlch(47.91, 73.05, 297.02°)
OKLaboklab(56.4% 0.017 -0.1868)
OKLCHoklch(56.4% 0.188 275.2)
XYZxyz(22.3598, 16.7225, 73.2690)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64E1 #E1D75A
analogous
#5AA7E1 #5A64E1 #945AE1
triadic
#5A64E1 #E15A64 #64E15A
tetradic
#5A64E1 #E15AA7 #E1D75A #5AE194
square
#5A64E1 #E15AA7 #E1D75A #5AE194
split-complementary
#5A64E1 #E1945A #A7E15A
monochromatic
#1E28A3 #2734D7 #5A64E1 #8E95EA #C2C5F4

Accessibility & contrast

On white

4.83
#5A64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5A64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64E1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64E1#FFFFFF#000000##FFFFFF
##5A64E11.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a64e1;
/* rgb */ color: rgb(90, 100, 225);
/* oklch */ color: oklch(56.4% 0.188 275.2);
Tailwind
colors: {
  custom: {
    50: '#9590eb',
    500: '#5a64e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a64e1;
$custom-light: #9590eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64e1",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 235.556,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.18758,
    "h": 275.2
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#5A64E1
secondary
#E4E1B2
accent
#C314D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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