#5D64C8#5D64C8

#5D64C8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.153 H 277.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D64C8
RGBrgb(93, 100, 200)
HSLhsl(236, 49%, 57%)
HSVhsv(236, 54%, 78%)
CMYKcmyk(53.5%, 50%, 0%, 21.6%)
CIE-LABlab(46.46, 25.64, -53.14)
CIE-LCHlch(46.46, 59.00, 295.76°)
OKLaboklab(54.84% 0.0189 -0.1516)
OKLCHoklch(54.84% 0.153 277.1)
XYZxyz(19.4934, 15.6104, 56.6183)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64C8 #C8C15D
analogous
#5D99C8 #5D64C8 #8C5DC8
triadic
#5D64C8 #C85D64 #64C85D
tetradic
#5D64C8 #C85D99 #C8C15D #5DC88C
square
#5D64C8 #C85D99 #C8C15D #5DC88C
split-complementary
#5D64C8 #C88C5D #99C85D
monochromatic
#2B317F #3B42AD #5D64C8 #8B90D8 #B8BBE7

Accessibility & contrast

On white

5.09
#5D64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64C8#FFFFFF#000000##FFFFFF
##5D64C81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CC
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#2B7A8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d64c8;
/* rgb */ color: rgb(93, 100, 200);
/* oklch */ color: oklch(54.8% 0.153 277.1);
Tailwind
colors: {
  custom: {
    50: '#9390d9',
    500: '#5d64c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d64c8;
$custom-light: #9390d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64c8",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 236.075,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.1528,
    "h": 277.1
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#5D64C8
secondary
#D6D3AB
accent
#D04FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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