#5B63E9#5B63E9

#5B63E9 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.199 H 275.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B63E9
RGBrgb(91, 99, 233)
HSLhsl(237, 76%, 64%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(60.9%, 57.5%, 0%, 8.6%)
CIE-LABlab(48.30, 36.59, -68.95)
CIE-LCHlch(48.30, 78.06, 297.95°)
OKLaboklab(56.89% 0.0191 -0.1982)
OKLCHoklch(56.89% 0.199 275.5)
XYZxyz(23.4794, 17.0291, 79.1246)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B63E9 #E9E15B
analogous
#5BAAE9 #5B63E9 #9A5BE9
triadic
#5B63E9 #E95B63 #63E95B
tetradic
#5B63E9 #E95BAA #E9E15B #5BE99A
square
#5B63E9 #E95BAA #E9E15B #5BE99A
split-complementary
#5B63E9 #E99A5B #AAE95B
monochromatic
#1821B2 #2530E2 #5B63E9 #9196F0 #C7CAF7

Accessibility & contrast

On white

4.77
#5B63E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5B63E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B63E9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B63E9#FFFFFF#000000##FFFFFF
##5B63E91.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b63e9;
/* rgb */ color: rgb(91, 99, 233);
/* oklch */ color: oklch(56.9% 0.199 275.5);
Tailwind
colors: {
  custom: {
    50: '#978ff1',
    500: '#5b63e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b63e9;
$custom-light: #978ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b63e9",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 233
  },
  "hsl": {
    "h": 236.62,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.19912,
    "h": 275.5
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#5B63E9
secondary
#E9E6B7
accent
#CD0DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B63E9

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

Preview Lab → · Contrast checker → · Palette generator →

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