#5B64EB#5B64EB

#5B64EB is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.2% C 0.201 H 275.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5B64EB
RGBrgb(91, 100, 235)
HSLhsl(236, 78%, 64%)
HSVhsv(236, 61%, 92%)
CMYKcmyk(61.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(48.68, 36.63, -69.46)
CIE-LCHlch(48.68, 78.53, 297.81°)
OKLaboklab(57.22% 0.0182 -0.1997)
OKLCHoklch(57.22% 0.201 275.2)
XYZxyz(23.8620, 17.3347, 80.6696)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64EB #EBE25B
analogous
#5BACEB #5B64EB #9A5BEB
triadic
#5B64EB #EB5B64 #64EB5B
tetradic
#5B64EB #EB5BAC #EBE25B #5BEB9A
square
#5B64EB #EB5BAC #EBE25B #5BEB9A
split-complementary
#5B64EB #EB9A5B #ACEB5B
monochromatic
#1620B5 #2430E4 #5B64EB #9298F2 #C8CBF8

Accessibility & contrast

On white

4.70
#5B64EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5B64EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64EB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64EB#FFFFFF#000000##FFFFFF
##5B64EB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b64eb;
/* rgb */ color: rgb(91, 100, 235);
/* oklch */ color: oklch(57.2% 0.201 275.2);
Tailwind
colors: {
  custom: {
    50: '#9790f2',
    500: '#5b64eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b64eb;
$custom-light: #9790f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64eb",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 236.25,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.2005,
    "h": 275.2
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#5B64EB
secondary
#EAE7B8
accent
#CE0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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