#5B64CD#5B64CD

#5B64CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.160 H 276.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5B64CD
RGBrgb(91, 100, 205)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(55.6%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.64, 26.84, -55.73)
CIE-LCHlch(46.64, 61.86, 295.72°)
OKLaboklab(55.04% 0.017 -0.1593)
OKLCHoklch(55.04% 0.16 276.1)
XYZxyz(19.8875, 15.7449, 59.7369)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64CD #CDC45B
analogous
#5B9DCD #5B64CD #8B5BCD
triadic
#5B64CD #CD5B64 #64CD5B
tetradic
#5B64CD #CD5B9D #CDC45B #5BCD8B
square
#5B64CD #CD5B9D #CDC45B #5BCD8B
split-complementary
#5B64CD #CD8B5B #9DCD5B
monochromatic
#293085 #3741B4 #5B64CD #8A90DB #B9BDEA

Accessibility & contrast

On white

5.06
#5B64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5B64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64CD#FFFFFF#000000##FFFFFF
##5B64CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#186ACB
Tritanopia (blue-blind)
#1D7C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b64cd;
/* rgb */ color: rgb(91, 100, 205);
/* oklch */ color: oklch(55.0% 0.160 276.1);
Tailwind
colors: {
  custom: {
    50: '#9290dd',
    500: '#5b64cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b64cd;
$custom-light: #9290dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64cd",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 235.263,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.16021,
    "h": 276.1
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#5B64CD
secondary
#D9D5AB
accent
#D14BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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