#5B64CE#5B64CE

#5B64CE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.162 H 276.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B64CE
RGBrgb(91, 100, 206)
HSLhsl(235, 54%, 58%)
HSVhsv(235, 56%, 81%)
CMYKcmyk(55.8%, 51.5%, 0%, 19.2%)
CIE-LABlab(46.70, 27.17, -56.20)
CIE-LCHlch(46.70, 62.42, 295.80°)
OKLaboklab(55.11% 0.0171 -0.1607)
OKLCHoklch(55.11% 0.162 276.1)
XYZxyz(20.0086, 15.7933, 60.3746)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64CE #CEC55B
analogous
#5B9ECE #5B64CE #8B5BCE
triadic
#5B64CE #CE5B64 #64CE5B
tetradic
#5B64CE #CE5B9E #CEC55B #5BCE8B
square
#5B64CE #CE5B9E #CEC55B #5BCE8B
split-complementary
#5B64CE #CE8B5B #9ECE5B
monochromatic
#283086 #3640B6 #5B64CE #8A91DC #B9BDEA

Accessibility & contrast

On white

5.05
#5B64CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5B64CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64CE#FFFFFF#000000##FFFFFF
##5B64CE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#156ACC
Tritanopia (blue-blind)
#1B7C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b64ce;
/* rgb */ color: rgb(91, 100, 206);
/* oklch */ color: oklch(55.1% 0.162 276.1);
Tailwind
colors: {
  custom: {
    50: '#9290de',
    500: '#5b64ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b64ce;
$custom-light: #9290de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64ce",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 235.304,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.1616,
    "h": 276.1
  },
  "luminance": 0.15795
}

Semantic roles & 50–950 ramp

primary
#5B64CE
secondary
#D9D6AB
accent
#D24ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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