#5D64E7#5D64E7

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

Color values

HEX#5D64E7
RGBrgb(93, 100, 231)
HSLhsl(237, 74%, 64%)
HSVhsv(237, 60%, 91%)
CMYKcmyk(59.7%, 56.7%, 0%, 9.4%)
CIE-LABlab(48.52, 35.66, -67.46)
CIE-LCHlch(48.52, 76.30, 297.86°)
OKLaboklab(57.04% 0.0204 -0.1937)
OKLCHoklch(57.04% 0.195 276)
XYZxyz(23.4905, 17.2092, 77.6696)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64E7 #E7E05D
analogous
#5DA9E7 #5D64E7 #9B5DE7
triadic
#5D64E7 #E75D64 #64E75D
tetradic
#5D64E7 #E75DA9 #E7E05D #5DE79B
square
#5D64E7 #E75DA9 #E7E05D #5DE79B
split-complementary
#5D64E7 #E79B5D #A9E75D
monochromatic
#1A22B0 #2831DF #5D64E7 #9297EF #C8CAF7

Accessibility & contrast

On white

4.73
#5D64E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5D64E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64E7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64E7#FFFFFF#000000##FFFFFF
##5D64E71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d64e7;
/* rgb */ color: rgb(93, 100, 231);
/* oklch */ color: oklch(57.0% 0.195 276.0);
Tailwind
colors: {
  custom: {
    50: '#9790ef',
    500: '#5d64e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d64e7;
$custom-light: #9790ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64e7",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 236.957,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.19481,
    "h": 276
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#5D64E7
secondary
#E8E6B7
accent
#CC0FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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