#5D64D6#5D64D6

#5D64D6 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.8% C 0.172 H 276.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5D64D6
RGBrgb(93, 100, 214)
HSLhsl(237, 60%, 60%)
HSVhsv(237, 57%, 84%)
CMYKcmyk(56.5%, 53.3%, 0%, 16.1%)
CIE-LABlab(47.36, 30.15, -59.71)
CIE-LCHlch(47.36, 66.89, 296.79°)
OKLaboklab(55.81% 0.0199 -0.1709)
OKLCHoklch(55.81% 0.172 276.6)
XYZxyz(21.2051, 16.2950, 65.6331)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D6 #D6CF5D
analogous
#5DA0D6 #5D64D6 #925DD6
triadic
#5D64D6 #D65D64 #64D65D
tetradic
#5D64D6 #D65DA0 #D6CF5D #5DD692
square
#5D64D6 #D65DA0 #D6CF5D #5DD692
split-complementary
#5D64D6 #D6925D #A0D65D
monochromatic
#252C93 #323AC4 #5D64D6 #8E93E2 #BFC1EF

Accessibility & contrast

On white

4.93
#5D64D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5D64D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D6#FFFFFF#000000##FFFFFF
##5D64D61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E75DA
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#157E93
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d64d6;
/* rgb */ color: rgb(93, 100, 214);
/* oklch */ color: oklch(55.8% 0.172 276.6);
Tailwind
colors: {
  custom: {
    50: '#9590e3',
    500: '#5d64d6',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d6;
$custom-light: #9590e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d6",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 214
  },
  "hsl": {
    "h": 236.529,
    "s": 59.606,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.1721,
    "h": 276.6
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#5D64D6
secondary
#DFDCB0
accent
#BD1EC7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5D64D6

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

Preview Lab → · Contrast checker → · Palette generator →

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