#5D64D9#5D64D9

#5D64D9 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.176 H 276.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D64D9
RGBrgb(93, 100, 217)
HSLhsl(237, 62%, 61%)
HSVhsv(237, 57%, 85%)
CMYKcmyk(57.1%, 53.9%, 0%, 14.9%)
CIE-LABlab(47.56, 31.12, -61.09)
CIE-LCHlch(47.56, 68.56, 297.00°)
OKLaboklab(56.02% 0.02 -0.175)
OKLCHoklch(56.02% 0.176 276.5)
XYZxyz(21.5917, 16.4497, 67.6695)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D9 #D9D25D
analogous
#5DA2D9 #5D64D9 #945DD9
triadic
#5D64D9 #D95D64 #64D95D
tetradic
#5D64D9 #D95DA2 #D9D25D #5DD994
square
#5D64D9 #D95DA2 #D9D25D #5DD994
split-complementary
#5D64D9 #D9945D #A2D95D
monochromatic
#242A98 #2F38CA #5D64D9 #8F93E5 #C0C3F0

Accessibility & contrast

On white

4.89
#5D64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5D64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D9#FFFFFF#000000##FFFFFF
##5D64D91.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1776DD
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#0C7F95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d64d9;
/* rgb */ color: rgb(93, 100, 217);
/* oklch */ color: oklch(56.0% 0.176 276.5);
Tailwind
colors: {
  custom: {
    50: '#9590e5',
    500: '#5d64d9',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d9;
$custom-light: #9590e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d9",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 236.613,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.17616,
    "h": 276.5
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#5D64D9
secondary
#E0DEB1
accent
#C01CCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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