#5E63E5#5E63E5

#5E63E5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.193 H 276.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5E63E5
RGBrgb(94, 99, 229)
HSLhsl(238, 72%, 63%)
HSVhsv(238, 59%, 90%)
CMYKcmyk(59%, 56.8%, 0%, 10.2%)
CIE-LABlab(48.21, 35.79, -66.83)
CIE-LCHlch(48.21, 75.82, 298.17°)
OKLaboklab(56.78% 0.0224 -0.1919)
OKLCHoklch(56.78% 0.193 276.7)
XYZxyz(23.2162, 16.9588, 76.1635)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E63E5 #E5E05E
analogous
#5EA6E5 #5E63E5 #9C5EE5
triadic
#5E63E5 #E55E63 #63E55E
tetradic
#5E63E5 #E55EA6 #E5E05E #5EE59C
square
#5E63E5 #E55EA6 #E5E05E #5EE59C
split-complementary
#5E63E5 #E59C5E #A6E55E
monochromatic
#1C21AD #2930DC #5E63E5 #9396EE #C7C9F6

Accessibility & contrast

On white

4.78
#5E63E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5E63E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E63E5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E63E5#FFFFFF#000000##FFFFFF
##5E63E51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e63e5;
/* rgb */ color: rgb(94, 99, 229);
/* oklch */ color: oklch(56.8% 0.193 276.7);
Tailwind
colors: {
  custom: {
    50: '#988fee',
    500: '#5e63e5',
    950: '#000000',
  },
}
SCSS
$custom: #5e63e5;
$custom-light: #988fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e63e5",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 229
  },
  "hsl": {
    "h": 237.778,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.1932,
    "h": 276.7
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#5E63E5
secondary
#E7E6B7
accent
#CD11D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E63E5

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

Preview Lab → · Contrast checker → · Palette generator →

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