#5D64BF#5D64BF

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

Color values

HEX#5D64BF
RGBrgb(93, 100, 191)
HSLhsl(236, 43%, 56%)
HSVhsv(236, 51%, 75%)
CMYKcmyk(51.3%, 47.6%, 0%, 25.1%)
CIE-LABlab(45.91, 22.77, -48.83)
CIE-LCHlch(45.91, 53.87, 295.00°)
OKLaboklab(54.25% 0.0179 -0.1389)
OKLCHoklch(54.25% 0.14 277.3)
XYZxyz(18.4724, 15.2020, 51.2410)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64BF #BFB85D
analogous
#5D95BF #5D64BF #875DBF
triadic
#5D64BF #BF5D64 #64BF5D
tetradic
#5D64BF #BF5D95 #BFB85D #5DBF87
square
#5D64BF #BF5D95 #BFB85D #5DBF87
split-complementary
#5D64BF #BF875D #95BF5D
monochromatic
#2E3374 #3F46A0 #5D64BF #898ED0 #B5B8E2

Accessibility & contrast

On white

5.20
#5D64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5D64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64BF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64BF#FFFFFF#000000##FFFFFF
##5D64BF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#347888
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d64bf;
/* rgb */ color: rgb(93, 100, 191);
/* oklch */ color: oklch(54.2% 0.140 277.3);
Tailwind
colors: {
  custom: {
    50: '#9190d3',
    500: '#5d64bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d64bf;
$custom-light: #9190d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64bf",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 235.714,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.1401,
    "h": 277.3
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#5D64BF
secondary
#D0CDA8
accent
#CA55D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5D64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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