#5D64E1#5D64E1

#5D64E1 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.187 H 276.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D64E1
RGBrgb(93, 100, 225)
HSLhsl(237, 69%, 62%)
HSVhsv(237, 59%, 88%)
CMYKcmyk(58.7%, 55.6%, 0%, 11.8%)
CIE-LABlab(48.10, 33.72, -64.75)
CIE-LCHlch(48.10, 73.00, 297.51°)
OKLaboklab(56.6% 0.0203 -0.1858)
OKLCHoklch(56.6% 0.187 276.2)
XYZxyz(22.6576, 16.8760, 73.2830)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64E1 #E1DA5D
analogous
#5DA6E1 #5D64E1 #985DE1
triadic
#5D64E1 #E15D64 #64E15D
tetradic
#5D64E1 #E15DA6 #E1DA5D #5DE198
square
#5D64E1 #E15DA6 #E1DA5D #5DE198
split-complementary
#5D64E1 #E1985D #A6E15D
monochromatic
#1F26A5 #2933D7 #5D64E1 #9195EB #C4C7F4

Accessibility & contrast

On white

4.80
#5D64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5D64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64E1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64E1#FFFFFF#000000##FFFFFF
##5D64E11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d64e1;
/* rgb */ color: rgb(93, 100, 225);
/* oklch */ color: oklch(56.6% 0.187 276.2);
Tailwind
colors: {
  custom: {
    50: '#9690eb',
    500: '#5d64e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d64e1;
$custom-light: #9690eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64e1",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 236.818,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.18688,
    "h": 276.2
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#5D64E1
secondary
#E5E2B5
accent
#C715D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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