#5D64D4#5D64D4

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

Color values

HEX#5D64D4
RGBrgb(93, 100, 212)
HSLhsl(236, 58%, 60%)
HSVhsv(236, 56%, 83%)
CMYKcmyk(56.1%, 52.8%, 0%, 16.9%)
CIE-LABlab(47.23, 29.51, -58.78)
CIE-LCHlch(47.23, 65.77, 296.66°)
OKLaboklab(55.66% 0.0198 -0.1682)
OKLCHoklch(55.66% 0.169 276.7)
XYZxyz(20.9512, 16.1935, 64.2962)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D4 #D4CD5D
analogous
#5D9FD4 #5D64D4 #925DD4
triadic
#5D64D4 #D45D64 #64D45D
tetradic
#5D64D4 #D45D9F #D4CD5D #5DD492
square
#5D64D4 #D45D9F #D4CD5D #5DD492
split-complementary
#5D64D4 #D4925D #9FD45D
monochromatic
#262D90 #333BC1 #5D64D4 #8D92E1 #BEC1EE

Accessibility & contrast

On white

4.95
#5D64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5D64D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D4#FFFFFF#000000##FFFFFF
##5D64D41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2275D8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#197E92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d64d4;
/* rgb */ color: rgb(93, 100, 212);
/* oklch */ color: oklch(55.7% 0.169 276.7);
Tailwind
colors: {
  custom: {
    50: '#9490e2',
    500: '#5d64d4',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d4;
$custom-light: #9490e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d4",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 236.471,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.16938,
    "h": 276.7
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#5D64D4
secondary
#DDDBAF
accent
#D847E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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