#5D64CF#5D64CF

#5D64CF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.163 H 276.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D64CF
RGBrgb(93, 100, 207)
HSLhsl(236, 54%, 59%)
HSVhsv(236, 55%, 81%)
CMYKcmyk(55.1%, 51.7%, 0%, 18.8%)
CIE-LABlab(46.90, 27.89, -56.45)
CIE-LCHlch(46.90, 62.96, 296.30°)
OKLaboklab(55.32% 0.0194 -0.1613)
OKLCHoklch(55.32% 0.163 276.9)
XYZxyz(20.3303, 15.9451, 61.0258)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64CF #CFC85D
analogous
#5D9DCF #5D64CF #8F5DCF
triadic
#5D64CF #CF5D64 #64CF5D
tetradic
#5D64CF #CF5D9D #CFC85D #5DCF8F
square
#5D64CF #CF5D9D #CFC85D #5DCF8F
split-complementary
#5D64CF #CF8F5D #9DCF5D
monochromatic
#292F89 #373FB8 #5D64CF #8C91DD #BBBEEB

Accessibility & contrast

On white

5.01
#5D64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5D64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64CF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64CF#FFFFFF#000000##FFFFFF
##5D64CF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#227C90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d64cf;
/* rgb */ color: rgb(93, 100, 207);
/* oklch */ color: oklch(55.3% 0.163 276.9);
Tailwind
colors: {
  custom: {
    50: '#9490de',
    500: '#5d64cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d64cf;
$custom-light: #9490de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64cf",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 236.316,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.16252,
    "h": 276.9
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#5D64CF
secondary
#DAD8AD
accent
#D54ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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