#5C64E1#5C64E1

#5C64E1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.187 H 275.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C64E1
RGBrgb(92, 100, 225)
HSLhsl(236, 69%, 62%)
HSVhsv(236, 59%, 88%)
CMYKcmyk(59.1%, 55.6%, 0%, 11.8%)
CIE-LABlab(48.04, 33.54, -64.86)
CIE-LCHlch(48.04, 73.02, 297.34°)
OKLaboklab(56.53% 0.0192 -0.1861)
OKLCHoklch(56.53% 0.187 275.9)
XYZxyz(22.5570, 16.8242, 73.2783)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64E1 #E1D95C
analogous
#5CA7E1 #5C64E1 #975CE1
triadic
#5C64E1 #E15C64 #64E15C
tetradic
#5C64E1 #E15CA7 #E1D95C #5CE197
square
#5C64E1 #E15CA7 #E1D95C #5CE197
split-complementary
#5C64E1 #E1975C #A7E15C
monochromatic
#1E26A4 #2833D7 #5C64E1 #9095EB #C3C6F4

Accessibility & contrast

On white

4.81
#5C64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5C64E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64E1#FFFFFF#000000##FFFFFF
##5C64E11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c64e1;
/* rgb */ color: rgb(92, 100, 225);
/* oklch */ color: oklch(56.5% 0.187 275.9);
Tailwind
colors: {
  custom: {
    50: '#9690eb',
    500: '#5c64e1',
    950: '#000000',
  },
}
SCSS
$custom: #5c64e1;
$custom-light: #9690eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64e1",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 236.391,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.18711,
    "h": 275.9
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#5C64E1
secondary
#E5E2B4
accent
#C615D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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