#5B64F0#5B64F0

#5B64F0 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.6% C 0.207 H 275.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B64F0
RGBrgb(91, 100, 240)
HSLhsl(236, 83%, 65%)
HSVhsv(236, 62%, 94%)
CMYKcmyk(62.1%, 58.3%, 0%, 5.9%)
CIE-LABlab(49.04, 38.27, -71.67)
CIE-LCHlch(49.04, 81.25, 298.10°)
OKLaboklab(57.6% 0.0181 -0.2062)
OKLCHoklch(57.6% 0.207 275)
XYZxyz(24.5946, 17.6277, 84.5276)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64F0 #F0E75B
analogous
#5BAEF0 #5B64F0 #9D5BF0
triadic
#5B64F0 #F05B64 #64F05B
tetradic
#5B64F0 #F05BAE #F0E75B #5BF09D
square
#5B64F0 #F05BAE #F0E75B #5BF09D
split-complementary
#5B64F0 #F09D5B #AEF05B
monochromatic
#111CBF #232FEB #5B64F0 #9399F5 #CBCEFA

Accessibility & contrast

On white

4.64
#5B64F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5B64F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64F0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64F0#FFFFFF#000000##FFFFFF
##5B64F01.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#0086A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b64f0;
/* rgb */ color: rgb(91, 100, 240);
/* oklch */ color: oklch(57.6% 0.207 275.0);
Tailwind
colors: {
  custom: {
    50: '#9890f6',
    500: '#5b64f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b64f0;
$custom-light: #9890f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64f0",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 236.376,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.20699,
    "h": 275
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#5B64F0
secondary
#EDEABA
accent
#D306E0
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64F0

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

Preview Lab → · Contrast checker → · Palette generator →

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