#5D64DC#5D64DC

#5D64DC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.180 H 276.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D64DC
RGBrgb(93, 100, 220)
HSLhsl(237, 64%, 61%)
HSVhsv(237, 58%, 86%)
CMYKcmyk(57.7%, 54.5%, 0%, 13.7%)
CIE-LABlab(47.76, 32.09, -62.47)
CIE-LCHlch(47.76, 70.23, 297.19°)
OKLaboklab(56.23% 0.0201 -0.1791)
OKLCHoklch(56.23% 0.18 276.4)
XYZxyz(21.9855, 16.6072, 69.7432)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64DC #DCD55D
analogous
#5DA4DC #5D64DC #965DDC
triadic
#5D64DC #DC5D64 #64DC5D
tetradic
#5D64DC #DC5DA4 #DCD55D #5DDC96
square
#5D64DC #DC5DA4 #DCD55D #5DDC96
split-complementary
#5D64DC #DC965D #A4DC5D
monochromatic
#22299D #2D36CF #5D64DC #8F94E7 #C2C4F2

Accessibility & contrast

On white

4.86
#5D64DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5D64DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64DC#FFFFFF#000000##FFFFFF
##5D64DC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d64dc;
/* rgb */ color: rgb(93, 100, 220);
/* oklch */ color: oklch(56.2% 0.180 276.4);
Tailwind
colors: {
  custom: {
    50: '#9690e8',
    500: '#5d64dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d64dc;
$custom-light: #9690e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64dc",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 236.693,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.18021,
    "h": 276.4
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#5D64DC
secondary
#E2E0B3
accent
#C219CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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