#5D64C0#5D64C0

#5D64C0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.142 H 277.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5D64C0
RGBrgb(93, 100, 192)
HSLhsl(236, 44%, 56%)
HSVhsv(236, 52%, 75%)
CMYKcmyk(51.6%, 47.9%, 0%, 24.7%)
CIE-LABlab(45.97, 23.09, -49.31)
CIE-LCHlch(45.97, 54.45, 295.09°)
OKLaboklab(54.31% 0.018 -0.1404)
OKLCHoklch(54.31% 0.142 277.3)
XYZxyz(18.5828, 15.2461, 51.8226)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64C0 #C0B95D
analogous
#5D95C0 #5D64C0 #875DC0
triadic
#5D64C0 #C05D64 #64C05D
tetradic
#5D64C0 #C05D95 #C0B95D #5DC087
square
#5D64C0 #C05D95 #C0B95D #5DC087
split-complementary
#5D64C0 #C0875D #95C05D
monochromatic
#2E3375 #3F46A1 #5D64C0 #898ED1 #B5B8E2

Accessibility & contrast

On white

5.19
#5D64C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5D64C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64C0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64C0#FFFFFF#000000##FFFFFF
##5D64C01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C3
Deuteranopia (green-blind)
#3069BE
Tritanopia (blue-blind)
#337889
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d64c0;
/* rgb */ color: rgb(93, 100, 192);
/* oklch */ color: oklch(54.3% 0.142 277.3);
Tailwind
colors: {
  custom: {
    50: '#9190d3',
    500: '#5d64c0',
    950: '#000000',
  },
}
SCSS
$custom: #5d64c0;
$custom-light: #9190d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64c0",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 235.758,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.14152,
    "h": 277.3
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#5D64C0
secondary
#D1CEA8
accent
#CB54D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5D64C0

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

Preview Lab → · Contrast checker → · Palette generator →

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