#5A63E5#5A63E5

#5A63E5 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.194 H 275.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A63E5
RGBrgb(90, 99, 229)
HSLhsl(236, 73%, 63%)
HSVhsv(236, 61%, 90%)
CMYKcmyk(60.7%, 56.8%, 0%, 10.2%)
CIE-LABlab(47.95, 35.11, -67.27)
CIE-LCHlch(47.95, 75.88, 297.56°)
OKLaboklab(56.52% 0.0179 -0.1933)
OKLCHoklch(56.52% 0.194 275.3)
XYZxyz(22.8165, 16.7527, 76.1448)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63E5 #E5DC5A
analogous
#5AA9E5 #5A63E5 #965AE5
triadic
#5A63E5 #E55A63 #63E55A
tetradic
#5A63E5 #E55AA9 #E5DC5A #5AE596
square
#5A63E5 #E55AA9 #E5DC5A #5AE596
split-complementary
#5A63E5 #E5965A #A9E55A
monochromatic
#1B24AA #2531DD #5A63E5 #8F95ED #C4C7F6

Accessibility & contrast

On white

4.83
#5A63E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5A63E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63E5#FFFFFF#000000##FFFFFF
##5A63E51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a63e5;
/* rgb */ color: rgb(90, 99, 229);
/* oklch */ color: oklch(56.5% 0.194 275.3);
Tailwind
colors: {
  custom: {
    50: '#958fee',
    500: '#5a63e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a63e5;
$custom-light: #958fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63e5",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 229
  },
  "hsl": {
    "h": 236.115,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.19411,
    "h": 275.3
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#5A63E5
secondary
#E7E3B4
accent
#C811D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5A63E5

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

Preview Lab → · Contrast checker → · Palette generator →

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