#5E64E7#5E64E7

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

Color values

HEX#5E64E7
RGBrgb(94, 100, 231)
HSLhsl(237, 74%, 64%)
HSVhsv(237, 59%, 91%)
CMYKcmyk(59.3%, 56.7%, 0%, 9.4%)
CIE-LABlab(48.59, 35.83, -67.35)
CIE-LCHlch(48.59, 76.29, 298.02°)
OKLaboklab(57.11% 0.0215 -0.1934)
OKLCHoklch(57.11% 0.195 276.3)
XYZxyz(23.5924, 17.2618, 77.6744)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E64E7 #E7E15E
analogous
#5EA8E7 #5E64E7 #9C5EE7
triadic
#5E64E7 #E75E64 #64E75E
tetradic
#5E64E7 #E75EA8 #E7E15E #5EE79C
square
#5E64E7 #E75EA8 #E7E15E #5EE79C
split-complementary
#5E64E7 #E79C5E #A8E75E
monochromatic
#1A21B0 #2931DF #5E64E7 #9397EF #C9CBF7

Accessibility & contrast

On white

4.72
#5E64E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E64E7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E64E7#FFFFFF#000000##FFFFFF
##5E64E71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e64e7;
/* rgb */ color: rgb(94, 100, 231);
/* oklch */ color: oklch(57.1% 0.195 276.3);
Tailwind
colors: {
  custom: {
    50: '#9890ef',
    500: '#5e64e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e64e7;
$custom-light: #9890ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e64e7",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 237.372,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.19459,
    "h": 276.3
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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