#5D64B4#5D64B4

#5D64B4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.124 H 277.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D64B4
RGBrgb(93, 100, 180)
HSLhsl(235, 37%, 54%)
HSVhsv(235, 48%, 71%)
CMYKcmyk(48.3%, 44.4%, 0%, 29.4%)
CIE-LABlab(45.27, 19.30, -43.45)
CIE-LCHlch(45.27, 47.55, 293.95°)
OKLaboklab(53.56% 0.0163 -0.1232)
OKLCHoklch(53.56% 0.124 277.6)
XYZxyz(17.3071, 14.7358, 45.1035)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64B4 #B4AD5D
analogous
#5D8FB4 #5D64B4 #815DB4
triadic
#5D64B4 #B45D64 #64B45D
tetradic
#5D64B4 #B45D8F #B4AD5D #5DB481
square
#5D64B4 #B45D8F #B4AD5D #5DB481
split-complementary
#5D64B4 #B4815D #8FB45D
monochromatic
#303467 #434991 #5D64B4 #878CC7 #B1B4DB

Accessibility & contrast

On white

5.32
#5D64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D64B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64B4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64B4#FFFFFF#000000##FFFFFF
##5D64B41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB7
Deuteranopia (green-blind)
#3C68B2
Tritanopia (blue-blind)
#3D7583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d64b4;
/* rgb */ color: rgb(93, 100, 180);
/* oklch */ color: oklch(53.6% 0.124 277.6);
Tailwind
colors: {
  custom: {
    50: '#9090cb',
    500: '#5d64b4',
    950: '#000000',
  },
}
SCSS
$custom: #5d64b4;
$custom-light: #9090cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64b4",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 235.172,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.12427,
    "h": 277.6
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#5D64B4
secondary
#C9C6A4
accent
#C45BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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