#5D64AB#5D64AB

#5D64AB is a mid, moderate blue. Relative luminance 0.144; OKLCH L 53.0% C 0.111 H 277.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D64AB
RGBrgb(93, 100, 171)
HSLhsl(235, 32%, 52%)
HSVhsv(235, 46%, 67%)
CMYKcmyk(45.6%, 41.5%, 0%, 32.9%)
CIE-LABlab(44.77, 16.51, -38.97)
CIE-LCHlch(44.77, 42.32, 292.96°)
OKLaboklab(53.02% 0.0148 -0.1101)
OKLCHoklch(53.02% 0.111 277.6)
XYZxyz(16.4198, 14.3809, 40.4308)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64AB #ABA45D
analogous
#5D8BAB #5D64AB #7D5DAB
triadic
#5D64AB #AB5D64 #64AB5D
tetradic
#5D64AB #AB5D8B #ABA45D #5DAB7D
square
#5D64AB #AB5D8B #ABA45D #5DAB7D
split-complementary
#5D64AB #AB7D5D #8BAB5D
monochromatic
#30345D #454B86 #5D64AB #858BC0 #AEB1D5

Accessibility & contrast

On white

5.42
#5D64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64AB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64AB#FFFFFF#000000##FFFFFF
##5D64AB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#42737F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d64ab;
/* rgb */ color: rgb(93, 100, 171);
/* oklch */ color: oklch(53.0% 0.111 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f90c4',
    500: '#5d64ab',
    950: '#000000',
  },
}
SCSS
$custom: #5d64ab;
$custom-light: #8f90c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64ab",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 234.615,
    "s": 31.707,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.11106,
    "h": 277.6
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#5D64AB
secondary
#C3C0A1
accent
#BF60C8
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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