#5D64D8#5D64D8

#5D64D8 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.175 H 276.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5D64D8
RGBrgb(93, 100, 216)
HSLhsl(237, 61%, 61%)
HSVhsv(237, 57%, 85%)
CMYKcmyk(56.9%, 53.7%, 0%, 15.3%)
CIE-LABlab(47.49, 30.80, -60.63)
CIE-LCHlch(47.49, 68.01, 296.93°)
OKLaboklab(55.95% 0.02 -0.1737)
OKLCHoklch(55.95% 0.175 276.6)
XYZxyz(21.4621, 16.3978, 66.9866)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64D8 #D8D15D
analogous
#5DA2D8 #5D64D8 #935DD8
triadic
#5D64D8 #D85D64 #64D85D
tetradic
#5D64D8 #D85DA2 #D8D15D #5DD893
square
#5D64D8 #D85DA2 #D8D15D #5DD893
split-complementary
#5D64D8 #D8935D #A2D85D
monochromatic
#242B96 #3039C8 #5D64D8 #8E93E4 #C0C2F0

Accessibility & contrast

On white

4.91
#5D64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5D64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64D8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64D8#FFFFFF#000000##FFFFFF
##5D64D81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A76DC
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#0F7F94
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d64d8;
/* rgb */ color: rgb(93, 100, 216);
/* oklch */ color: oklch(55.9% 0.175 276.6);
Tailwind
colors: {
  custom: {
    50: '#9590e5',
    500: '#5d64d8',
    950: '#000000',
  },
}
SCSS
$custom: #5d64d8;
$custom-light: #9590e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64d8",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 236.585,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.17481,
    "h": 276.6
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#5D64D8
secondary
#E0DDB1
accent
#BF1DC9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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