#5D64DF#5D64DF

#5D64DF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.184 H 276.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5D64DF
RGBrgb(93, 100, 223)
HSLhsl(237, 67%, 62%)
HSVhsv(237, 58%, 87%)
CMYKcmyk(58.3%, 55.2%, 0%, 12.5%)
CIE-LABlab(47.97, 33.07, -63.84)
CIE-LCHlch(47.97, 71.89, 297.38°)
OKLaboklab(56.45% 0.0202 -0.1831)
OKLCHoklch(56.45% 0.184 276.3)
XYZxyz(22.3864, 16.7676, 71.8545)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64DF #DFD85D
analogous
#5DA5DF #5D64DF #975DDF
triadic
#5D64DF #DF5D64 #64DF5D
tetradic
#5D64DF #DF5DA5 #DFD85D #5DDF97
square
#5D64DF #DF5DA5 #DFD85D #5DDF97
split-complementary
#5D64DF #DF975D #A5DF5D
monochromatic
#2027A2 #2A33D5 #5D64DF #9095E9 #C3C6F3

Accessibility & contrast

On white

4.82
#5D64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5D64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64DF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64DF#FFFFFF#000000##FFFFFF
##5D64DF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d64df;
/* rgb */ color: rgb(93, 100, 223);
/* oklch */ color: oklch(56.5% 0.184 276.3);
Tailwind
colors: {
  custom: {
    50: '#9690ea',
    500: '#5d64df',
    950: '#000000',
  },
}
SCSS
$custom: #5d64df;
$custom-light: #9690ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64df",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 236.769,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.18422,
    "h": 276.3
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#5D64DF
secondary
#E4E1B4
accent
#C517CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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