#5B64D9#5B64D9

#5B64D9 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.177 H 275.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B64D9
RGBrgb(91, 100, 217)
HSLhsl(236, 62%, 60%)
HSVhsv(236, 58%, 85%)
CMYKcmyk(58.1%, 53.9%, 0%, 14.9%)
CIE-LABlab(47.43, 30.75, -61.31)
CIE-LCHlch(47.43, 68.59, 296.64°)
OKLaboklab(55.89% 0.0178 -0.1757)
OKLCHoklch(55.89% 0.177 275.8)
XYZxyz(21.3919, 16.3467, 67.6601)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64D9 #D9D05B
analogous
#5BA3D9 #5B64D9 #915BD9
triadic
#5B64D9 #D95B64 #64D95B
tetradic
#5B64D9 #D95BA3 #D9D05B #5BD991
square
#5B64D9 #D95BA3 #D9D05B #5BD991
split-complementary
#5B64D9 #D9915B #A3D95B
monochromatic
#232B97 #2E39C8 #5B64D9 #8D93E5 #BEC2F0

Accessibility & contrast

On white

4.92
#5B64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5B64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64D9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64D9#FFFFFF#000000##FFFFFF
##5B64D91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1676DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b64d9;
/* rgb */ color: rgb(91, 100, 217);
/* oklch */ color: oklch(55.9% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#9490e5',
    500: '#5b64d9',
    950: '#000000',
  },
}
SCSS
$custom: #5b64d9;
$custom-light: #9490e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64d9",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 235.714,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.17663,
    "h": 275.8
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#5B64D9
secondary
#E0DDB0
accent
#BE1BCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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