#5D64CA#5D64CA

#5D64CA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.156 H 277.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D64CA
RGBrgb(93, 100, 202)
HSLhsl(236, 51%, 58%)
HSVhsv(236, 54%, 79%)
CMYKcmyk(54%, 50.5%, 0%, 20.8%)
CIE-LABlab(46.58, 26.28, -54.09)
CIE-LCHlch(46.58, 60.14, 295.92°)
OKLaboklab(54.97% 0.019 -0.1544)
OKLCHoklch(54.97% 0.156 277)
XYZxyz(19.7287, 15.7045, 57.8573)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64CA #CAC35D
analogous
#5D9ACA #5D64CA #8C5DCA
triadic
#5D64CA #CA5D64 #64CA5D
tetradic
#5D64CA #CA5D9A #CAC35D #5DCA8C
square
#5D64CA #CA5D9A #CAC35D #5DCA8C
split-complementary
#5D64CA #CA8C5D #9ACA5D
monochromatic
#2B3082 #3A41B0 #5D64CA #8B90D9 #B9BCE8

Accessibility & contrast

On white

5.07
#5D64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5D64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64CA#FFFFFF#000000##FFFFFF
##5D64CA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#297B8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d64ca;
/* rgb */ color: rgb(93, 100, 202);
/* oklch */ color: oklch(55.0% 0.156 277.0);
Tailwind
colors: {
  custom: {
    50: '#9390db',
    500: '#5d64ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d64ca;
$custom-light: #9390db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64ca",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 236.147,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.15559,
    "h": 277
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#5D64CA
secondary
#D7D4AC
accent
#D14EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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