#5D64AF#5D64AF

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

Color values

HEX#5D64AF
RGBrgb(93, 100, 175)
HSLhsl(235, 34%, 53%)
HSVhsv(235, 47%, 69%)
CMYKcmyk(46.9%, 42.9%, 0%, 31.4%)
CIE-LABlab(44.99, 17.75, -40.97)
CIE-LCHlch(44.99, 44.65, 293.42°)
OKLaboklab(53.25% 0.0155 -0.1159)
OKLCHoklch(53.25% 0.117 277.6)
XYZxyz(16.8069, 14.5358, 42.4692)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64AF #AFA85D
analogous
#5D8DAF #5D64AF #7F5DAF
triadic
#5D64AF #AF5D64 #64AF5D
tetradic
#5D64AF #AF5D8D #AFA85D #5DAF7F
square
#5D64AF #AF5D8D #AFA85D #5DAF7F
split-complementary
#5D64AF #AF7F5D #8DAF5D
monochromatic
#303461 #444A8A #5D64AF #868BC3 #AFB2D7

Accessibility & contrast

On white

5.37
#5D64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5D64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64AF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64AF#FFFFFF#000000##FFFFFF
##5D64AF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#4167AD
Tritanopia (blue-blind)
#407481
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d64af;
/* rgb */ color: rgb(93, 100, 175);
/* oklch */ color: oklch(53.3% 0.117 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f90c7',
    500: '#5d64af',
    950: '#000000',
  },
}
SCSS
$custom: #5d64af;
$custom-light: #8f90c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64af",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 234.878,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.11696,
    "h": 277.6
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#5D64AF
secondary
#C6C3A2
accent
#C15ECA
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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