#5B64E5#5B64E5

#5B64E5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.193 H 275.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B64E5
RGBrgb(91, 100, 229)
HSLhsl(236, 73%, 63%)
HSVhsv(236, 60%, 90%)
CMYKcmyk(60.3%, 56.3%, 0%, 10.2%)
CIE-LABlab(48.25, 34.67, -66.77)
CIE-LCHlch(48.25, 75.24, 297.44°)
OKLaboklab(56.76% 0.0181 -0.1918)
OKLCHoklch(56.76% 0.193 275.4)
XYZxyz(23.0098, 16.9938, 76.1811)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64E5 #E5DC5B
analogous
#5BA9E5 #5B64E5 #975BE5
triadic
#5B64E5 #E55B64 #64E55B
tetradic
#5B64E5 #E55BA9 #E5DC5B #5BE597
square
#5B64E5 #E55BA9 #E5DC5B #5BE597
split-complementary
#5B64E5 #E5975B #A9E55B
monochromatic
#1B24AB #2632DD #5B64E5 #9096ED #C5C8F6

Accessibility & contrast

On white

4.77
#5B64E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5B64E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64E5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64E5#FFFFFF#000000##FFFFFF
##5B64E51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b64e5;
/* rgb */ color: rgb(91, 100, 229);
/* oklch */ color: oklch(56.8% 0.193 275.4);
Tailwind
colors: {
  custom: {
    50: '#9690ee',
    500: '#5b64e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b64e5;
$custom-light: #9690ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64e5",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 236.087,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.19265,
    "h": 275.4
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#5B64E5
secondary
#E7E4B5
accent
#C811D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5B64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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