#5B64CC#5B64CC

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

Color values

HEX#5B64CC
RGBrgb(91, 100, 204)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 55%, 80%)
CMYKcmyk(55.4%, 51%, 0%, 20%)
CIE-LABlab(46.57, 26.52, -55.26)
CIE-LCHlch(46.57, 61.30, 295.64°)
OKLaboklab(54.97% 0.017 -0.1579)
OKLCHoklch(54.97% 0.159 276.1)
XYZxyz(19.7672, 15.6968, 59.1032)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64CC #CCC35B
analogous
#5B9DCC #5B64CC #8A5BCC
triadic
#5B64CC #CC5B64 #64CC5B
tetradic
#5B64CC #CC5B9D #CCC35B #5BCC8A
square
#5B64CC #CC5B9D #CCC35B #5BCC8A
split-complementary
#5B64CC #CC8A5B #9DCC5B
monochromatic
#293084 #3741B2 #5B64CC #8A90DB #B8BCE9

Accessibility & contrast

On white

5.07
#5B64CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5B64CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64CC#FFFFFF#000000##FFFFFF
##5B64CC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#1F7B8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b64cc;
/* rgb */ color: rgb(91, 100, 204);
/* oklch */ color: oklch(55.0% 0.159 276.1);
Tailwind
colors: {
  custom: {
    50: '#9290dc',
    500: '#5b64cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b64cc;
$custom-light: #9290dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64cc",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 235.221,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.15883,
    "h": 276.1
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#5B64CC
secondary
#D8D4AB
accent
#D04CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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