#5B64E9#5B64E9

#5B64E9 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.198 H 275.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5B64E9
RGBrgb(91, 100, 233)
HSLhsl(236, 76%, 64%)
HSVhsv(236, 61%, 91%)
CMYKcmyk(60.9%, 57.1%, 0%, 8.6%)
CIE-LABlab(48.54, 35.98, -68.57)
CIE-LCHlch(48.54, 77.43, 297.69°)
OKLaboklab(57.06% 0.0182 -0.1971)
OKLCHoklch(57.06% 0.198 275.3)
XYZxyz(23.5747, 17.2198, 79.1564)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64E9 #E9E05B
analogous
#5BABE9 #5B64E9 #995BE9
triadic
#5B64E9 #E95B64 #64E95B
tetradic
#5B64E9 #E95BAB #E9E05B #5BE999
square
#5B64E9 #E95BAB #E9E05B #5BE999
split-complementary
#5B64E9 #E9995B #ABE95B
monochromatic
#1822B2 #2531E2 #5B64E9 #9197F0 #C7CAF7

Accessibility & contrast

On white

4.73
#5B64E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5B64E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64E9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64E9#FFFFFF#000000##FFFFFF
##5B64E91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b64e9;
/* rgb */ color: rgb(91, 100, 233);
/* oklch */ color: oklch(57.1% 0.198 275.3);
Tailwind
colors: {
  custom: {
    50: '#9790f1',
    500: '#5b64e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b64e9;
$custom-light: #9790f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64e9",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 236.197,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.19789,
    "h": 275.3
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#5B64E9
secondary
#E9E6B7
accent
#CC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B64E9

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

Preview Lab → · Contrast checker → · Palette generator →

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