#5E64E8#5E64E8

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

Color values

HEX#5E64E8
RGBrgb(94, 100, 232)
HSLhsl(237, 75%, 64%)
HSVhsv(237, 59%, 91%)
CMYKcmyk(59.5%, 56.9%, 0%, 9%)
CIE-LABlab(48.66, 36.16, -67.79)
CIE-LCHlch(48.66, 76.83, 298.07°)
OKLaboklab(57.18% 0.0215 -0.1947)
OKLCHoklch(57.18% 0.196 276.3)
XYZxyz(23.7340, 17.3184, 78.4204)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E64E8 #E8E25E
analogous
#5EA9E8 #5E64E8 #9D5EE8
triadic
#5E64E8 #E85E64 #64E85E
tetradic
#5E64E8 #E85EA9 #E8E25E #5EE89D
square
#5E64E8 #E85EA9 #E8E25E #5EE89D
split-complementary
#5E64E8 #E89D5E #A9E85E
monochromatic
#1920B2 #2830E0 #5E64E8 #9498F0 #C9CBF7

Accessibility & contrast

On white

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

On black

4.46
#5E64E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E64E8#FFFFFF#000000##FFFFFF
##5E64E81.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e64e8;
/* rgb */ color: rgb(94, 100, 232);
/* oklch */ color: oklch(57.2% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#9890f0',
    500: '#5e64e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e64e8;
$custom-light: #9890f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e64e8",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 237.391,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.19589,
    "h": 276.3
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#5E64E8
secondary
#E9E7B9
accent
#CE0ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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