#5A63E9#5A63E9

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

Color values

HEX#5A63E9
RGBrgb(90, 99, 233)
HSLhsl(236, 76%, 63%)
HSVhsv(236, 61%, 91%)
CMYKcmyk(61.4%, 57.5%, 0%, 8.6%)
CIE-LABlab(48.23, 36.42, -69.06)
CIE-LCHlch(48.23, 78.08, 297.81°)
OKLaboklab(56.82% 0.018 -0.1985)
OKLCHoklch(56.82% 0.199 275.2)
XYZxyz(23.3815, 16.9786, 79.1201)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63E9 #E9E05A
analogous
#5AAAE9 #5A63E9 #985AE9
triadic
#5A63E9 #E95A63 #63E95A
tetradic
#5A63E9 #E95AAA #E9E05A #5AE998
square
#5A63E9 #E95AAA #E9E05A #5AE998
split-complementary
#5A63E9 #E9985A #AAE95A
monochromatic
#1821B1 #2430E2 #5A63E9 #9096F0 #C6C9F7

Accessibility & contrast

On white

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

On black

4.40
#5A63E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A63E9#FFFFFF#000000##FFFFFF
##5A63E91.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a63e9;
/* rgb */ color: rgb(90, 99, 233);
/* oklch */ color: oklch(56.8% 0.199 275.2);
Tailwind
colors: {
  custom: {
    50: '#968ff1',
    500: '#5a63e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a63e9;
$custom-light: #968ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63e9",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 233
  },
  "hsl": {
    "h": 236.224,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.19936,
    "h": 275.2
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#5A63E9
secondary
#E9E6B6
accent
#CC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A63E9

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

Preview Lab → · Contrast checker → · Palette generator →

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