#5B64F3#5B64F3

#5B64F3 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.8% C 0.211 H 274.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B64F3
RGBrgb(91, 100, 243)
HSLhsl(236, 86%, 65%)
HSVhsv(236, 63%, 95%)
CMYKcmyk(62.6%, 58.8%, 0%, 4.7%)
CIE-LABlab(49.26, 39.25, -72.99)
CIE-LCHlch(49.26, 82.87, 298.27°)
OKLaboklab(57.83% 0.0181 -0.2101)
OKLCHoklch(57.83% 0.211 274.9)
XYZxyz(25.0439, 17.8075, 86.8941)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64F3 #F3EA5B
analogous
#5BB0F3 #5B64F3 #9E5BF3
triadic
#5B64F3 #F35B64 #64F35B
tetradic
#5B64F3 #F35BB0 #F3EA5B #5BF39E
square
#5B64F3 #F35BB0 #F3EA5B #5BF39E
split-complementary
#5B64F3 #F39E5B #B0F35B
monochromatic
#0E19C5 #222EEF #5B64F3 #949AF7 #CDD0FB

Accessibility & contrast

On white

4.60
#5B64F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5B64F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64F3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64F3#FFFFFF#000000##FFFFFF
##5B64F31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#006FF0
Tritanopia (blue-blind)
#0087A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b64f3;
/* rgb */ color: rgb(91, 100, 243);
/* oklch */ color: oklch(57.8% 0.211 274.9);
Tailwind
colors: {
  custom: {
    50: '#9890f8',
    500: '#5b64f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b64f3;
$custom-light: #9890f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64f3",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 243
  },
  "hsl": {
    "h": 236.447,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.21085,
    "h": 274.9
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#5B64F3
secondary
#EEEBBB
accent
#D603E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64F3

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

Preview Lab → · Contrast checker → · Palette generator →

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