#5D64E6#5D64E6

#5D64E6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.0% C 0.193 H 276.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5D64E6
RGBrgb(93, 100, 230)
HSLhsl(237, 73%, 63%)
HSVhsv(237, 60%, 90%)
CMYKcmyk(59.6%, 56.5%, 0%, 9.8%)
CIE-LABlab(48.45, 35.34, -67.01)
CIE-LCHlch(48.45, 75.75, 297.81°)
OKLaboklab(56.97% 0.0204 -0.1924)
OKLCHoklch(56.97% 0.193 276)
XYZxyz(23.3497, 17.1529, 76.9280)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64E6 #E6DF5D
analogous
#5DA8E6 #5D64E6 #9A5DE6
triadic
#5D64E6 #E65D64 #64E65D
tetradic
#5D64E6 #E65DA8 #E6DF5D #5DE69A
square
#5D64E6 #E65DA8 #E6DF5D #5DE69A
split-complementary
#5D64E6 #E69A5D #A8E65D
monochromatic
#1B22AE #2831DE #5D64E6 #9297EE #C7C9F6

Accessibility & contrast

On white

4.74
#5D64E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5D64E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64E6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64E6#FFFFFF#000000##FFFFFF
##5D64E61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d64e6;
/* rgb */ color: rgb(93, 100, 230);
/* oklch */ color: oklch(57.0% 0.193 276.0);
Tailwind
colors: {
  custom: {
    50: '#9790ef',
    500: '#5d64e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d64e6;
$custom-light: #9790ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64e6",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 236.934,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.19349,
    "h": 276
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#5D64E6
secondary
#E8E5B7
accent
#CB10D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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