#5D64E2#5D64E2

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

Color values

HEX#5D64E2
RGBrgb(93, 100, 226)
HSLhsl(237, 70%, 63%)
HSVhsv(237, 59%, 89%)
CMYKcmyk(58.8%, 55.8%, 0%, 11.4%)
CIE-LABlab(48.17, 34.04, -65.20)
CIE-LCHlch(48.17, 73.55, 297.57°)
OKLaboklab(56.67% 0.0203 -0.1871)
OKLCHoklch(56.67% 0.188 276.2)
XYZxyz(22.7944, 16.9308, 74.0035)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64E2 #E2DB5D
analogous
#5DA7E2 #5D64E2 #985DE2
triadic
#5D64E2 #E25D64 #64E25D
tetradic
#5D64E2 #E25DA7 #E2DB5D #5DE298
square
#5D64E2 #E25DA7 #E2DB5D #5DE298
split-complementary
#5D64E2 #E2985D #A7E25D
monochromatic
#1E25A7 #2932D9 #5D64E2 #9196EB #C5C7F5

Accessibility & contrast

On white

4.79
#5D64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5D64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64E2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64E2#FFFFFF#000000##FFFFFF
##5D64E21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d64e2;
/* rgb */ color: rgb(93, 100, 226);
/* oklch */ color: oklch(56.7% 0.188 276.2);
Tailwind
colors: {
  custom: {
    50: '#9690ec',
    500: '#5d64e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d64e2;
$custom-light: #9690ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64e2",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 236.842,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.18821,
    "h": 276.2
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#5D64E2
secondary
#E6E3B5
accent
#C814D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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