#5B64EA#5B64EA

#5B64EA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.199 H 275.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5B64EA
RGBrgb(91, 100, 234)
HSLhsl(236, 77%, 64%)
HSVhsv(236, 61%, 92%)
CMYKcmyk(61.1%, 57.3%, 0%, 8.2%)
CIE-LABlab(48.61, 36.31, -69.01)
CIE-LCHlch(48.61, 77.98, 297.75°)
OKLaboklab(57.14% 0.0182 -0.1984)
OKLCHoklch(57.14% 0.199 275.2)
XYZxyz(23.7180, 17.2771, 79.9109)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64EA #EAE15B
analogous
#5BABEA #5B64EA #995BEA
triadic
#5B64EA #EA5B64 #64EA5B
tetradic
#5B64EA #EA5BAB #EAE15B #5BEA99
square
#5B64EA #EA5BAB #EAE15B #5BEA99
split-complementary
#5B64EA #EA995B #ABEA5B
monochromatic
#1721B4 #2531E3 #5B64EA #9197F1 #C8CBF8

Accessibility & contrast

On white

4.71
#5B64EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5B64EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64EA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64EA#FFFFFF#000000##FFFFFF
##5B64EA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b64ea;
/* rgb */ color: rgb(91, 100, 234);
/* oklch */ color: oklch(57.1% 0.199 275.2);
Tailwind
colors: {
  custom: {
    50: '#9790f2',
    500: '#5b64ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b64ea;
$custom-light: #9790f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64ea",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 236.224,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.1992,
    "h": 275.2
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#5B64EA
secondary
#EAE6B7
accent
#CD0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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