#5D64D1#5D64D1

#5D64D1 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.165 H 276.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D64D1
RGBrgb(93, 100, 209)
HSLhsl(236, 56%, 59%)
HSVhsv(236, 56%, 82%)
CMYKcmyk(55.5%, 52.2%, 0%, 18%)
CIE-LABlab(47.03, 28.54, -57.38)
CIE-LCHlch(47.03, 64.09, 296.44°)
OKLaboklab(55.46% 0.0196 -0.1641)
OKLCHoklch(55.46% 0.165 276.8)
XYZxyz(20.5763, 16.0435, 62.3217)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D1 #D1CA5D
analogous
#5D9ED1 #5D64D1 #905DD1
triadic
#5D64D1 #D15D64 #64D15D
tetradic
#5D64D1 #D15D9E #D1CA5D #5DD190
square
#5D64D1 #D15D9E #D1CA5D #5DD190
split-complementary
#5D64D1 #D1905D #9ED15D
monochromatic
#282E8C #353DBC #5D64D1 #8D92DF #BCBFEC

Accessibility & contrast

On white

4.99
#5D64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5D64D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D1#FFFFFF#000000##FFFFFF
##5D64D11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2774D5
Deuteranopia (green-blind)
#0E6BCF
Tritanopia (blue-blind)
#1F7D91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d64d1;
/* rgb */ color: rgb(93, 100, 209);
/* oklch */ color: oklch(55.5% 0.165 276.8);
Tailwind
colors: {
  custom: {
    50: '#9490e0',
    500: '#5d64d1',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d1;
$custom-light: #9490e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d1",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 236.379,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.16527,
    "h": 276.8
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#5D64D1
secondary
#DCD9AE
accent
#D649DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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