#5B64CF#5B64CF

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

Color values

HEX#5B64CF
RGBrgb(91, 100, 207)
HSLhsl(235, 55%, 58%)
HSVhsv(235, 56%, 81%)
CMYKcmyk(56%, 51.7%, 0%, 18.8%)
CIE-LABlab(46.77, 27.49, -56.67)
CIE-LCHlch(46.77, 62.99, 295.88°)
OKLaboklab(55.18% 0.0172 -0.1621)
OKLCHoklch(55.18% 0.163 276.1)
XYZxyz(20.1304, 15.8421, 61.0164)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64CF #CFC65B
analogous
#5B9ECF #5B64CF #8C5BCF
triadic
#5B64CF #CF5B64 #64CF5B
tetradic
#5B64CF #CF5B9E #CFC65B #5BCF8C
square
#5B64CF #CF5B9E #CFC65B #5BCF8C
split-complementary
#5B64CF #CF8C5B #9ECF5B
monochromatic
#282F88 #3640B7 #5B64CF #8A91DD #BABDEB

Accessibility & contrast

On white

5.04
#5B64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5B64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64CF#FFFFFF#000000##FFFFFF
##5B64CF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#126ACD
Tritanopia (blue-blind)
#197C90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b64cf;
/* rgb */ color: rgb(91, 100, 207);
/* oklch */ color: oklch(55.2% 0.163 276.1);
Tailwind
colors: {
  custom: {
    50: '#9290de',
    500: '#5b64cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b64cf;
$custom-light: #9290de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64cf",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 235.345,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.16298,
    "h": 276.1
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#5B64CF
secondary
#DAD6AC
accent
#D34ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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