#5D64B5#5D64B5

#5D64B5 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.6% C 0.126 H 277.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D64B5
RGBrgb(93, 100, 181)
HSLhsl(235, 37%, 54%)
HSVhsv(235, 49%, 71%)
CMYKcmyk(48.6%, 44.8%, 0%, 29%)
CIE-LABlab(45.33, 19.62, -43.94)
CIE-LCHlch(45.33, 48.12, 294.06°)
OKLaboklab(53.62% 0.0165 -0.1246)
OKLCHoklch(53.62% 0.126 277.5)
XYZxyz(17.4093, 14.7767, 45.6420)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64B5 #B5AE5D
analogous
#5D90B5 #5D64B5 #825DB5
triadic
#5D64B5 #B55D64 #64B55D
tetradic
#5D64B5 #B55D90 #B5AE5D #5DB582
square
#5D64B5 #B55D90 #B5AE5D #5DB582
split-complementary
#5D64B5 #B5825D #90B55D
monochromatic
#303468 #434992 #5D64B5 #878CC8 #B1B4DB

Accessibility & contrast

On white

5.31
#5D64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5D64B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64B5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64B5#FFFFFF#000000##FFFFFF
##5D64B51.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#3C68B3
Tritanopia (blue-blind)
#3C7584
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d64b5;
/* rgb */ color: rgb(93, 100, 181);
/* oklch */ color: oklch(53.6% 0.126 277.5);
Tailwind
colors: {
  custom: {
    50: '#9090cb',
    500: '#5d64b5',
    950: '#000000',
  },
}
SCSS
$custom: #5d64b5;
$custom-light: #9090cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64b5",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 235.227,
    "s": 37.288,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.12572,
    "h": 277.5
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#5D64B5
secondary
#CAC7A4
accent
#C45BCD
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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