#5C64EA#5C64EA

#5C64EA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.199 H 275.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5C64EA
RGBrgb(92, 100, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 61%, 92%)
CMYKcmyk(60.7%, 57.3%, 0%, 8.2%)
CIE-LABlab(48.67, 36.47, -68.91)
CIE-LCHlch(48.67, 77.96, 297.89°)
OKLaboklab(57.2% 0.0193 -0.198)
OKLCHoklch(57.2% 0.199 275.6)
XYZxyz(23.8172, 17.3283, 79.9155)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64EA #EAE25C
analogous
#5CABEA #5C64EA #9B5CEA
triadic
#5C64EA #EA5C64 #64EA5C
tetradic
#5C64EA #EA5CAB #EAE25C #5CEA9B
square
#5C64EA #EA5CAB #EAE25C #5CEA9B
split-complementary
#5C64EA #EA9B5C #ABEA5C
monochromatic
#1720B4 #2630E3 #5C64EA #9298F1 #C8CBF8

Accessibility & contrast

On white

4.70
#5C64EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5C64EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64EA#FFFFFF#000000##FFFFFF
##5C64EA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c64ea;
/* rgb */ color: rgb(92, 100, 234);
/* oklch */ color: oklch(57.2% 0.199 275.6);
Tailwind
colors: {
  custom: {
    50: '#9790f2',
    500: '#5c64ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c64ea;
$custom-light: #9790f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64ea",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 236.62,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.19897,
    "h": 275.6
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#5C64EA
secondary
#EAE7B8
accent
#CE0CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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