#5D64C1#5D64C1

#5D64C1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.143 H 277.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D64C1
RGBrgb(93, 100, 193)
HSLhsl(236, 45%, 56%)
HSVhsv(236, 52%, 76%)
CMYKcmyk(51.8%, 48.2%, 0%, 24.3%)
CIE-LABlab(46.03, 23.41, -49.79)
CIE-LCHlch(46.03, 55.02, 295.18°)
OKLaboklab(54.38% 0.0181 -0.1418)
OKLCHoklch(54.38% 0.143 277.3)
XYZxyz(18.6940, 15.2906, 52.4081)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64C1 #C1BA5D
analogous
#5D96C1 #5D64C1 #885DC1
triadic
#5D64C1 #C15D64 #64C15D
tetradic
#5D64C1 #C15D96 #C1BA5D #5DC188
square
#5D64C1 #C15D96 #C1BA5D #5DC188
split-complementary
#5D64C1 #C1885D #96C15D
monochromatic
#2D3276 #3E45A3 #5D64C1 #898ED2 #B6B9E3

Accessibility & contrast

On white

5.17
#5D64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5D64C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64C1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64C1#FFFFFF#000000##FFFFFF
##5D64C11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#327889
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d64c1;
/* rgb */ color: rgb(93, 100, 193);
/* oklch */ color: oklch(54.4% 0.143 277.3);
Tailwind
colors: {
  custom: {
    50: '#9290d4',
    500: '#5d64c1',
    950: '#000000',
  },
}
SCSS
$custom: #5d64c1;
$custom-light: #9290d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64c1",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 235.8,
    "s": 44.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.14294,
    "h": 277.3
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#5D64C1
secondary
#D2CFA8
accent
#CB53D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5D64C1

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

Preview Lab → · Contrast checker → · Palette generator →

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