#5D64D5#5D64D5

#5D64D5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.171 H 276.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5D64D5
RGBrgb(93, 100, 213)
HSLhsl(237, 59%, 60%)
HSVhsv(237, 56%, 84%)
CMYKcmyk(56.3%, 53.1%, 0%, 16.5%)
CIE-LABlab(47.29, 29.83, -59.24)
CIE-LCHlch(47.29, 66.33, 296.73°)
OKLaboklab(55.74% 0.0198 -0.1696)
OKLCHoklch(55.74% 0.171 276.7)
XYZxyz(21.0778, 16.2441, 64.9626)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D5 #D5CE5D
analogous
#5DA0D5 #5D64D5 #925DD5
triadic
#5D64D5 #D55D64 #64D55D
tetradic
#5D64D5 #D55DA0 #D5CE5D #5DD592
square
#5D64D5 #D55DA0 #D5CE5D #5DD592
split-complementary
#5D64D5 #D5925D #A0D55D
monochromatic
#262C92 #323BC2 #5D64D5 #8E92E2 #BEC1EE

Accessibility & contrast

On white

4.94
#5D64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5D64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D5#FFFFFF#000000##FFFFFF
##5D64D51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#177E93
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d64d5;
/* rgb */ color: rgb(93, 100, 213);
/* oklch */ color: oklch(55.7% 0.171 276.7);
Tailwind
colors: {
  custom: {
    50: '#9490e3',
    500: '#5d64d5',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d5;
$custom-light: #9490e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d5",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 236.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.17073,
    "h": 276.7
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#5D64D5
secondary
#DEDBB0
accent
#D946E2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5D64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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