#5D64B1#5D64B1

#5D64B1 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.4% C 0.120 H 277.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D64B1
RGBrgb(93, 100, 177)
HSLhsl(235, 35%, 53%)
HSVhsv(235, 47%, 69%)
CMYKcmyk(47.5%, 43.5%, 0%, 30.6%)
CIE-LABlab(45.10, 18.37, -41.97)
CIE-LCHlch(45.10, 45.81, 293.64°)
OKLaboklab(53.37% 0.0158 -0.1188)
OKLCHoklch(53.37% 0.12 277.6)
XYZxyz(17.0047, 14.6149, 43.5114)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64B1 #B1AA5D
analogous
#5D8EB1 #5D64B1 #805DB1
triadic
#5D64B1 #B15D64 #64B15D
tetradic
#5D64B1 #B15D8E #B1AA5D #5DB180
square
#5D64B1 #B15D8E #B1AA5D #5DB180
split-complementary
#5D64B1 #B1805D #8EB15D
monochromatic
#303464 #444A8D #5D64B1 #868CC5 #B0B3D9

Accessibility & contrast

On white

5.35
#5D64B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5D64B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64B1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64B1#FFFFFF#000000##FFFFFF
##5D64B11.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#3F7482
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d64b1;
/* rgb */ color: rgb(93, 100, 177);
/* oklch */ color: oklch(53.4% 0.120 277.6);
Tailwind
colors: {
  custom: {
    50: '#9090c9',
    500: '#5d64b1',
    950: '#000000',
  },
}
SCSS
$custom: #5d64b1;
$custom-light: #9090c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64b1",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 235,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.11989,
    "h": 277.6
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#5D64B1
secondary
#C7C4A3
accent
#C25DCB
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D64B1

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

Preview Lab → · Contrast checker → · Palette generator →

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