#5C64ED#5C64ED

#5C64ED is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.4% C 0.203 H 275.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C64ED
RGBrgb(92, 100, 237)
HSLhsl(237, 80%, 65%)
HSVhsv(237, 61%, 93%)
CMYKcmyk(61.2%, 57.8%, 0%, 7.1%)
CIE-LABlab(48.89, 37.45, -70.24)
CIE-LCHlch(48.89, 79.60, 298.06°)
OKLaboklab(57.43% 0.0193 -0.202)
OKLCHoklch(57.43% 0.203 275.5)
XYZxyz(24.2519, 17.5021, 82.2046)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64ED #EDE55C
analogous
#5CACED #5C64ED #9D5CED
triadic
#5C64ED #ED5C64 #64ED5C
tetradic
#5C64ED #ED5CAC #EDE55C #5CED9D
square
#5C64ED #ED5CAC #EDE55C #5CED9D
split-complementary
#5C64ED #ED9D5C #ACED5C
monochromatic
#151EBA #2530E7 #5C64ED #9398F3 #CACDF9

Accessibility & contrast

On white

4.67
#5C64ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5C64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64ED
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64ED#FFFFFF#000000##FFFFFF
##5C64ED1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c64ed;
/* rgb */ color: rgb(92, 100, 237);
/* oklch */ color: oklch(57.4% 0.203 275.5);
Tailwind
colors: {
  custom: {
    50: '#9890f4',
    500: '#5c64ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c64ed;
$custom-light: #9890f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64ed",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 236.69,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.20288,
    "h": 275.5
  },
  "luminance": 0.17504
}

Semantic roles & 50–950 ramp

primary
#5C64ED
secondary
#EBE9B9
accent
#D109DC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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