#5C64E9#5C64E9

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

Color values

HEX#5C64E9
RGBrgb(92, 100, 233)
HSLhsl(237, 76%, 64%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(60.5%, 57.1%, 0%, 8.6%)
CIE-LABlab(48.60, 36.15, -68.46)
CIE-LCHlch(48.60, 77.42, 297.83°)
OKLaboklab(57.13% 0.0193 -0.1967)
OKLCHoklch(57.13% 0.198 275.6)
XYZxyz(23.6740, 17.2710, 79.1611)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64E9 #E9E15C
analogous
#5CAAE9 #5C64E9 #9A5CE9
triadic
#5C64E9 #E95C64 #64E95C
tetradic
#5C64E9 #E95CAA #E9E15C #5CE99A
square
#5C64E9 #E95CAA #E9E15C #5CE99A
split-complementary
#5C64E9 #E99A5C #AAE95C
monochromatic
#1821B3 #2631E2 #5C64E9 #9297F0 #C8CBF8

Accessibility & contrast

On white

4.71
#5C64E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5C64E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C64E9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64E9#FFFFFF#000000##FFFFFF
##5C64E91.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c64e9;
/* rgb */ color: rgb(92, 100, 233);
/* oklch */ color: oklch(57.1% 0.198 275.6);
Tailwind
colors: {
  custom: {
    50: '#9790f1',
    500: '#5c64e9',
    950: '#000000',
  },
}
SCSS
$custom: #5c64e9;
$custom-light: #9790f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64e9",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 236.596,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.19766,
    "h": 275.6
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#5C64E9
secondary
#E9E6B8
accent
#CD0DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C64E9

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

Preview Lab → · Contrast checker → · Palette generator →

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