#5B64DB#5B64DB

#5B64DB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.179 H 275.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5B64DB
RGBrgb(91, 100, 219)
HSLhsl(236, 64%, 61%)
HSVhsv(236, 58%, 86%)
CMYKcmyk(58.4%, 54.3%, 0%, 14.1%)
CIE-LABlab(47.56, 31.41, -62.23)
CIE-LCHlch(47.56, 69.71, 296.78°)
OKLaboklab(56.03% 0.0179 -0.1784)
OKLCHoklch(56.03% 0.179 275.7)
XYZxyz(21.6536, 16.4513, 69.0385)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64DB #DBD25B
analogous
#5BA4DB #5B64DB #925BDB
triadic
#5B64DB #DB5B64 #64DB5B
tetradic
#5B64DB #DB5BA4 #DBD25B #5BDB92
square
#5B64DB #DB5BA4 #DBD25B #5BDB92
split-complementary
#5B64DB #DB925B #A4DB5B
monochromatic
#222A9A #2D38CC #5B64DB #8D93E6 #BFC3F1

Accessibility & contrast

On white

4.89
#5B64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5B64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64DB#FFFFFF#000000##FFFFFF
##5B64DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b64db;
/* rgb */ color: rgb(91, 100, 219);
/* oklch */ color: oklch(56.0% 0.179 275.7);
Tailwind
colors: {
  custom: {
    50: '#9490e7',
    500: '#5b64db',
    950: '#000000',
  },
}
SCSS
$custom: #5b64db;
$custom-light: #9490e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64db",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 235.781,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56029,
    "c": 0.17932,
    "h": 275.7
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#5B64DB
secondary
#E1DEB1
accent
#BF1ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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