#5B63EA#5B63EA

#5B63EA is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.0% C 0.200 H 275.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5B63EA
RGBrgb(91, 99, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 61%, 92%)
CMYKcmyk(61.1%, 57.7%, 0%, 8.2%)
CIE-LABlab(48.37, 36.91, -69.40)
CIE-LCHlch(48.37, 78.61, 298.01°)
OKLaboklab(56.96% 0.0191 -0.1995)
OKLCHoklch(56.96% 0.2 275.5)
XYZxyz(23.6227, 17.0864, 79.8791)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B63EA #EAE25B
analogous
#5BAAEA #5B63EA #9A5BEA
triadic
#5B63EA #EA5B63 #63EA5B
tetradic
#5B63EA #EA5BAA #EAE25B #5BEA9A
square
#5B63EA #EA5BAA #EAE25B #5BEA9A
split-complementary
#5B63EA #EA9A5B #AAEA5B
monochromatic
#1720B4 #252FE3 #5B63EA #9197F1 #C8CAF8

Accessibility & contrast

On white

4.75
#5B63EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5B63EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B63EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B63EA#FFFFFF#000000##FFFFFF
##5B63EA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b63ea;
/* rgb */ color: rgb(91, 99, 234);
/* oklch */ color: oklch(57.0% 0.200 275.5);
Tailwind
colors: {
  custom: {
    50: '#978ff2',
    500: '#5b63ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b63ea;
$custom-light: #978ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b63ea",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 236.643,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.20043,
    "h": 275.5
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#5B63EA
secondary
#EAE7B7
accent
#CE0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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