#5D64AE#5D64AE

#5D64AE is a mid, moderate blue. Relative luminance 0.145; OKLCH L 53.2% C 0.115 H 277.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D64AE
RGBrgb(93, 100, 174)
HSLhsl(235, 33%, 52%)
HSVhsv(235, 47%, 68%)
CMYKcmyk(46.6%, 42.5%, 0%, 31.8%)
CIE-LABlab(44.94, 17.44, -40.47)
CIE-LCHlch(44.94, 44.07, 293.31°)
OKLaboklab(53.19% 0.0153 -0.1145)
OKLCHoklch(53.19% 0.115 277.6)
XYZxyz(16.7090, 14.4966, 41.9539)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64AE #AEA75D
analogous
#5D8CAE #5D64AE #7F5DAE
triadic
#5D64AE #AE5D64 #64AE5D
tetradic
#5D64AE #AE5D8C #AEA75D #5DAE7F
square
#5D64AE #AE5D8C #AEA75D #5DAE7F
split-complementary
#5D64AE #AE7F5D #8CAE5D
monochromatic
#303460 #454B89 #5D64AE #868BC2 #AFB2D7

Accessibility & contrast

On white

5.39
#5D64AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5D64AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64AE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64AE#FFFFFF#000000##FFFFFF
##5D64AE1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#407380
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d64ae;
/* rgb */ color: rgb(93, 100, 174);
/* oklch */ color: oklch(53.2% 0.115 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f90c6',
    500: '#5d64ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d64ae;
$custom-light: #8f90c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64ae",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 234.815,
    "s": 33.333,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.11549,
    "h": 277.6
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#5D64AE
secondary
#C5C2A2
accent
#C05EC9
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D64AE

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

Preview Lab → · Contrast checker → · Palette generator →

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