#5D64E8#5D64E8

#5D64E8 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.196 H 276.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5D64E8
RGBrgb(93, 100, 232)
HSLhsl(237, 75%, 64%)
HSVhsv(237, 60%, 91%)
CMYKcmyk(59.9%, 56.9%, 0%, 9%)
CIE-LABlab(48.59, 35.99, -67.90)
CIE-LCHlch(48.59, 76.85, 297.92°)
OKLaboklab(57.12% 0.0204 -0.1951)
OKLCHoklch(57.12% 0.196 276)
XYZxyz(23.6321, 17.2659, 78.4156)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64E8 #E8E15D
analogous
#5DA9E8 #5D64E8 #9B5DE8
triadic
#5D64E8 #E85D64 #64E85D
tetradic
#5D64E8 #E85DA9 #E8E15D #5DE89B
square
#5D64E8 #E85DA9 #E8E15D #5DE89B
split-complementary
#5D64E8 #E89B5D #A9E85D
monochromatic
#1921B1 #2731E0 #5D64E8 #9397F0 #C8CBF7

Accessibility & contrast

On white

4.72
#5D64E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5D64E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64E8#FFFFFF#000000##FFFFFF
##5D64E81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d64e8;
/* rgb */ color: rgb(93, 100, 232);
/* oklch */ color: oklch(57.1% 0.196 276.0);
Tailwind
colors: {
  custom: {
    50: '#9790f0',
    500: '#5d64e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d64e8;
$custom-light: #9790f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64e8",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 236.978,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.19612,
    "h": 276
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#5D64E8
secondary
#E9E6B8
accent
#CD0ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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