#5A63D2#5A63D2

#5A63D2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.169 H 275.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5A63D2
RGBrgb(90, 99, 210)
HSLhsl(236, 57%, 59%)
HSVhsv(236, 57%, 82%)
CMYKcmyk(57.1%, 52.9%, 0%, 17.6%)
CIE-LABlab(46.64, 28.90, -58.59)
CIE-LCHlch(46.64, 65.33, 296.25°)
OKLaboklab(55.13% 0.0173 -0.1677)
OKLCHoklch(55.13% 0.169 275.9)
XYZxyz(20.3074, 15.7490, 62.9300)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63D2 #D2C95A
analogous
#5A9FD2 #5A63D2 #8D5AD2
triadic
#5A63D2 #D25A63 #63D25A
tetradic
#5A63D2 #D25A9F #D2C95A #5AD28D
square
#5A63D2 #D25A9F #D2C95A #5AD28D
split-complementary
#5A63D2 #D28D5A #9FD25A
monochromatic
#262E8C #333DBC #5A63D2 #8A90DF #BABEEC

Accessibility & contrast

On white

5.06
#5A63D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5A63D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63D2#FFFFFF#000000##FFFFFF
##5A63D21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2174D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#0C7C91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a63d2;
/* rgb */ color: rgb(90, 99, 210);
/* oklch */ color: oklch(55.1% 0.169 275.9);
Tailwind
colors: {
  custom: {
    50: '#928fe0',
    500: '#5a63d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a63d2;
$custom-light: #928fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63d2",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 210
  },
  "hsl": {
    "h": 235.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.16863,
    "h": 275.9
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#5A63D2
secondary
#DCD8AC
accent
#D547E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A63D2

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

Preview Lab → · Contrast checker → · Palette generator →

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