#5D64CD#5D64CD

#5D64CD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.160 H 276.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D64CD
RGBrgb(93, 100, 205)
HSLhsl(236, 53%, 58%)
HSVhsv(236, 55%, 80%)
CMYKcmyk(54.6%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.77, 27.25, -55.51)
CIE-LCHlch(46.77, 61.83, 296.15°)
OKLaboklab(55.18% 0.0193 -0.1586)
OKLCHoklch(55.18% 0.16 276.9)
XYZxyz(20.0873, 15.8479, 59.7462)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64CD #CDC65D
analogous
#5D9CCD #5D64CD #8E5DCD
triadic
#5D64CD #CD5D64 #64CD5D
tetradic
#5D64CD #CD5D9C #CDC65D #5DCD8E
square
#5D64CD #CD5D9C #CDC65D #5DCD8E
split-complementary
#5D64CD #CD8E5D #9CCD5D
monochromatic
#292F86 #3840B5 #5D64CD #8C91DB #BBBDEA

Accessibility & contrast

On white

5.04
#5D64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5D64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64CD#FFFFFF#000000##FFFFFF
##5D64CD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#1B6ACB
Tritanopia (blue-blind)
#257C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d64cd;
/* rgb */ color: rgb(93, 100, 205);
/* oklch */ color: oklch(55.2% 0.160 276.9);
Tailwind
colors: {
  custom: {
    50: '#9390dd',
    500: '#5d64cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d64cd;
$custom-light: #9390dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64cd",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 236.25,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.15976,
    "h": 276.9
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#5D64CD
secondary
#D9D6AD
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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