#5A63EA#5A63EA

#5A63EA is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.9% C 0.201 H 275.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5A63EA
RGBrgb(90, 99, 234)
HSLhsl(236, 77%, 64%)
HSVhsv(236, 62%, 92%)
CMYKcmyk(61.5%, 57.7%, 0%, 8.2%)
CIE-LABlab(48.31, 36.75, -69.51)
CIE-LCHlch(48.31, 78.62, 297.87°)
OKLaboklab(56.9% 0.018 -0.1999)
OKLCHoklch(56.9% 0.201 275.1)
XYZxyz(23.5247, 17.0359, 79.8745)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63EA #EAE15A
analogous
#5AABEA #5A63EA #995AEA
triadic
#5A63EA #EA5A63 #63EA5A
tetradic
#5A63EA #EA5AAB #EAE15A #5AEA99
square
#5A63EA #EA5AAB #EAE15A #5AEA99
split-complementary
#5A63EA #EA995A #ABEA5A
monochromatic
#1721B3 #2430E3 #5A63EA #9096F1 #C7CAF8

Accessibility & contrast

On white

4.76
#5A63EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A63EA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63EA#FFFFFF#000000##FFFFFF
##5A63EA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.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: #5a63ea;
/* rgb */ color: rgb(90, 99, 234);
/* oklch */ color: oklch(56.9% 0.201 275.1);
Tailwind
colors: {
  custom: {
    50: '#968ff2',
    500: '#5a63ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a63ea;
$custom-light: #968ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63ea",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 236.25,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.20066,
    "h": 275.1
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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