#5D64D2#5D64D2

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

Color values

HEX#5D64D2
RGBrgb(93, 100, 210)
HSLhsl(236, 57%, 59%)
HSVhsv(236, 56%, 82%)
CMYKcmyk(55.7%, 52.4%, 0%, 17.6%)
CIE-LABlab(47.10, 28.86, -57.85)
CIE-LCHlch(47.10, 64.65, 296.51°)
OKLaboklab(55.53% 0.0196 -0.1655)
OKLCHoklch(55.53% 0.167 276.8)
XYZxyz(20.7005, 16.0932, 62.9758)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D2 #D2CB5D
analogous
#5D9FD2 #5D64D2 #915DD2
triadic
#5D64D2 #D25D64 #64D25D
tetradic
#5D64D2 #D25D9F #D2CB5D #5DD291
square
#5D64D2 #D25D9F #D2CB5D #5DD291
split-complementary
#5D64D2 #D2915D #9FD25D
monochromatic
#272D8D #353DBD #5D64D2 #8D92DF #BDC0ED

Accessibility & contrast

On white

4.98
#5D64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5D64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D2#FFFFFF#000000##FFFFFF
##5D64D21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#0A6BD0
Tritanopia (blue-blind)
#1D7D91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d64d2;
/* rgb */ color: rgb(93, 100, 210);
/* oklch */ color: oklch(55.5% 0.167 276.8);
Tailwind
colors: {
  custom: {
    50: '#9490e0',
    500: '#5d64d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d2;
$custom-light: #9490e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d2",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 236.41,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.16664,
    "h": 276.8
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#5D64D2
secondary
#DCD9AF
accent
#D748E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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