#5B64DE#5B64DE

#5B64DE is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.183 H 275.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5B64DE
RGBrgb(91, 100, 222)
HSLhsl(236, 66%, 61%)
HSVhsv(236, 59%, 87%)
CMYKcmyk(59%, 55%, 0%, 12.9%)
CIE-LABlab(47.77, 32.38, -63.60)
CIE-LCHlch(47.77, 71.37, 296.98°)
OKLaboklab(56.25% 0.018 -0.1825)
OKLCHoklch(56.25% 0.183 275.6)
XYZxyz(22.0521, 16.6107, 71.1372)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B64DE #DED55B
analogous
#5BA6DE #5B64DE #945BDE
triadic
#5B64DE #DE5B64 #64DE5B
tetradic
#5B64DE #DE5BA6 #DED55B #5BDE94
square
#5B64DE #DE5BA6 #DED55B #5BDE94
split-complementary
#5B64DE #DE945B #A6DE5B
monochromatic
#20299F #2A36D2 #5B64DE #8E94E8 #C1C4F3

Accessibility & contrast

On white

4.86
#5B64DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5B64DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B64DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B64DE#FFFFFF#000000##FFFFFF
##5B64DE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0177E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b64de;
/* rgb */ color: rgb(91, 100, 222);
/* oklch */ color: oklch(56.2% 0.183 275.6);
Tailwind
colors: {
  custom: {
    50: '#9590e9',
    500: '#5b64de',
    950: '#000000',
  },
}
SCSS
$custom: #5b64de;
$custom-light: #9590e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b64de",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 235.878,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.18334,
    "h": 275.6
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#5B64DE
secondary
#E3E0B2
accent
#C217CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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