#5D64D3#5D64D3

#5D64D3 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.168 H 276.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D64D3
RGBrgb(93, 100, 211)
HSLhsl(236, 57%, 60%)
HSVhsv(236, 56%, 83%)
CMYKcmyk(55.9%, 52.6%, 0%, 17.3%)
CIE-LABlab(47.16, 29.18, -58.31)
CIE-LCHlch(47.16, 65.21, 296.58°)
OKLaboklab(55.59% 0.0197 -0.1668)
OKLCHoklch(55.59% 0.168 276.7)
XYZxyz(20.8255, 16.1432, 63.6339)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D3 #D3CC5D
analogous
#5D9FD3 #5D64D3 #915DD3
triadic
#5D64D3 #D35D64 #64D35D
tetradic
#5D64D3 #D35D9F #D3CC5D #5DD391
square
#5D64D3 #D35D9F #D3CC5D #5DD391
split-complementary
#5D64D3 #D3915D #9FD35D
monochromatic
#272D8F #343CBF #5D64D3 #8D92E0 #BDC0ED

Accessibility & contrast

On white

4.97
#5D64D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D64D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D3#FFFFFF#000000##FFFFFF
##5D64D31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2475D7
Deuteranopia (green-blind)
#056BD1
Tritanopia (blue-blind)
#1B7D92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d64d3;
/* rgb */ color: rgb(93, 100, 211);
/* oklch */ color: oklch(55.6% 0.168 276.7);
Tailwind
colors: {
  custom: {
    50: '#9490e1',
    500: '#5d64d3',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d3;
$custom-light: #9490e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d3",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 236.441,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.16801,
    "h": 276.7
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#5D64D3
secondary
#DDDAAF
accent
#D747E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64D3

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

Preview Lab → · Contrast checker → · Palette generator →

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