#5B64DA#5B64DA

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

Color values

HEX#5B64DA
RGBrgb(91, 100, 218)
HSLhsl(236, 63%, 61%)
HSVhsv(236, 58%, 85%)
CMYKcmyk(58.3%, 54.1%, 0%, 14.5%)
CIE-LABlab(47.49, 31.08, -61.77)
CIE-LCHlch(47.49, 69.15, 296.71°)
OKLaboklab(55.96% 0.0178 -0.1771)
OKLCHoklch(55.96% 0.178 275.7)
XYZxyz(21.5223, 16.3988, 68.3472)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64DA #DAD15B
analogous
#5BA3DA #5B64DA #915BDA
triadic
#5B64DA #DA5B64 #64DA5B
tetradic
#5B64DA #DA5BA3 #DAD15B #5BDA91
square
#5B64DA #DA5BA3 #DAD15B #5BDA91
split-complementary
#5B64DA #DA915B #A3DA5B
monochromatic
#222B98 #2E39CA #5B64DA #8D93E5 #BFC2F1

Accessibility & contrast

On white

4.91
#5B64DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5B64DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64DA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64DA#FFFFFF#000000##FFFFFF
##5B64DA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1376DE
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b64da;
/* rgb */ color: rgb(91, 100, 218);
/* oklch */ color: oklch(56.0% 0.178 275.7);
Tailwind
colors: {
  custom: {
    50: '#9490e6',
    500: '#5b64da',
    950: '#000000',
  },
}
SCSS
$custom: #5b64da;
$custom-light: #9490e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64da",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 235.748,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.17797,
    "h": 275.7
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#5B64DA
secondary
#E1DDB0
accent
#BE1BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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