#5D64E5#5D64E5

#5D64E5 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.9% C 0.192 H 276.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D64E5
RGBrgb(93, 100, 229)
HSLhsl(237, 72%, 63%)
HSVhsv(237, 59%, 90%)
CMYKcmyk(59.4%, 56.3%, 0%, 10.2%)
CIE-LABlab(48.38, 35.01, -66.56)
CIE-LCHlch(48.38, 75.20, 297.75°)
OKLaboklab(56.89% 0.0204 -0.1911)
OKLCHoklch(56.89% 0.192 276.1)
XYZxyz(23.2096, 17.0969, 76.1905)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64E5 #E5DE5D
analogous
#5DA8E5 #5D64E5 #9A5DE5
triadic
#5D64E5 #E55D64 #64E55D
tetradic
#5D64E5 #E55DA8 #E5DE5D #5DE59A
square
#5D64E5 #E55DA8 #E5DE5D #5DE59A
split-complementary
#5D64E5 #E59A5D #A8E55D
monochromatic
#1C23AC #2832DD #5D64E5 #9296ED #C6C9F6

Accessibility & contrast

On white

4.75
#5D64E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D64E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64E5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64E5#FFFFFF#000000##FFFFFF
##5D64E51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d64e5;
/* rgb */ color: rgb(93, 100, 229);
/* oklch */ color: oklch(56.9% 0.192 276.1);
Tailwind
colors: {
  custom: {
    50: '#9790ee',
    500: '#5d64e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d64e5;
$custom-light: #9790ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64e5",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 236.912,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.19218,
    "h": 276.1
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#5D64E5
secondary
#E7E5B7
accent
#CA11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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