#5A63E1#5A63E1

#5A63E1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.189 H 275.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5A63E1
RGBrgb(90, 99, 225)
HSLhsl(236, 69%, 62%)
HSVhsv(236, 60%, 88%)
CMYKcmyk(60%, 56%, 0%, 11.8%)
CIE-LABlab(47.66, 33.80, -65.47)
CIE-LCHlch(47.66, 73.68, 297.31°)
OKLaboklab(56.22% 0.0179 -0.188)
OKLCHoklch(56.22% 0.189 275.4)
XYZxyz(22.2645, 16.5318, 73.2373)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63E1 #E1D85A
analogous
#5AA7E1 #5A63E1 #955AE1
triadic
#5A63E1 #E15A63 #63E15A
tetradic
#5A63E1 #E15AA7 #E1D85A #5AE195
square
#5A63E1 #E15AA7 #E1D85A #5AE195
split-complementary
#5A63E1 #E1955A #A7E15A
monochromatic
#1E27A3 #2733D7 #5A63E1 #8E94EA #C2C5F4

Accessibility & contrast

On white

4.88
#5A63E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5A63E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63E1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63E1#FFFFFF#000000##FFFFFF
##5A63E11.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a63e1;
/* rgb */ color: rgb(90, 99, 225);
/* oklch */ color: oklch(56.2% 0.189 275.4);
Tailwind
colors: {
  custom: {
    50: '#958feb',
    500: '#5a63e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a63e1;
$custom-light: #958feb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63e1",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 225
  },
  "hsl": {
    "h": 236,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.18883,
    "h": 275.4
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#5A63E1
secondary
#E4E1B2
accent
#C514D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A63E1

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

Preview Lab → · Contrast checker → · Palette generator →

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