#5B64CA#5B64CA

#5B64CA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.156 H 276.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5B64CA
RGBrgb(91, 100, 202)
HSLhsl(235, 51%, 57%)
HSVhsv(235, 55%, 79%)
CMYKcmyk(55%, 50.5%, 0%, 20.8%)
CIE-LABlab(46.45, 25.87, -54.32)
CIE-LCHlch(46.45, 60.16, 295.47°)
OKLaboklab(54.84% 0.0168 -0.1551)
OKLCHoklch(54.84% 0.156 276.2)
XYZxyz(19.5288, 15.6014, 57.8480)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64CA #CAC15B
analogous
#5B9CCA #5B64CA #895BCA
triadic
#5B64CA #CA5B64 #64CA5B
tetradic
#5B64CA #CA5B9C #CAC15B #5BCA89
square
#5B64CA #CA5B9C #CAC15B #5BCA89
split-complementary
#5B64CA #CA895B #9CCA5B
monochromatic
#2A3181 #3942AF #5B64CA #8990D9 #B8BBE8

Accessibility & contrast

On white

5.10
#5B64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5B64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64CA#FFFFFF#000000##FFFFFF
##5B64CA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#227B8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b64ca;
/* rgb */ color: rgb(91, 100, 202);
/* oklch */ color: oklch(54.8% 0.156 276.2);
Tailwind
colors: {
  custom: {
    50: '#9290db',
    500: '#5b64ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b64ca;
$custom-light: #9290db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64ca",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 235.135,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.15604,
    "h": 276.2
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#5B64CA
secondary
#D7D3AA
accent
#CF4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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