#5D64C2#5D64C2

#5D64C2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.144 H 277.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D64C2
RGBrgb(93, 100, 194)
HSLhsl(236, 45%, 56%)
HSVhsv(236, 52%, 76%)
CMYKcmyk(52.1%, 48.5%, 0%, 23.9%)
CIE-LABlab(46.09, 23.72, -50.27)
CIE-LCHlch(46.09, 55.59, 295.26°)
OKLaboklab(54.44% 0.0182 -0.1432)
OKLCHoklch(54.44% 0.144 277.3)
XYZxyz(18.8059, 15.3354, 52.9975)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64C2 #C2BB5D
analogous
#5D97C2 #5D64C2 #895DC2
triadic
#5D64C2 #C25D64 #64C25D
tetradic
#5D64C2 #C25D97 #C2BB5D #5DC289
square
#5D64C2 #C25D97 #C2BB5D #5DC289
split-complementary
#5D64C2 #C2895D #97C25D
monochromatic
#2D3278 #3E45A4 #5D64C2 #898FD3 #B6B9E3

Accessibility & contrast

On white

5.16
#5D64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5D64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64C2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64C2#FFFFFF#000000##FFFFFF
##5D64C21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C5
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#31798A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d64c2;
/* rgb */ color: rgb(93, 100, 194);
/* oklch */ color: oklch(54.4% 0.144 277.3);
Tailwind
colors: {
  custom: {
    50: '#9290d5',
    500: '#5d64c2',
    950: '#000000',
  },
}
SCSS
$custom: #5d64c2;
$custom-light: #9290d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64c2",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 235.842,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.14436,
    "h": 277.3
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#5D64C2
secondary
#D2CFA9
accent
#CC53D5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5D64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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