#5A63DA#5A63DA

#5A63DA is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.179 H 275.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5A63DA
RGBrgb(90, 99, 218)
HSLhsl(236, 63%, 60%)
HSVhsv(236, 59%, 85%)
CMYKcmyk(58.7%, 54.6%, 0%, 14.5%)
CIE-LABlab(47.18, 31.51, -62.28)
CIE-LCHlch(47.18, 69.80, 296.84°)
OKLaboklab(55.71% 0.0177 -0.1786)
OKLCHoklch(55.71% 0.179 275.7)
XYZxyz(21.3291, 16.1577, 68.3109)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63DA #DAD15A
analogous
#5AA3DA #5A63DA #915ADA
triadic
#5A63DA #DA5A63 #63DA5A
tetradic
#5A63DA #DA5AA3 #DAD15A #5ADA91
square
#5A63DA #DA5AA3 #DAD15A #5ADA91
split-complementary
#5A63DA #DA915A #A3DA5A
monochromatic
#222A98 #2D38CA #5A63DA #8C92E5 #BEC2F0

Accessibility & contrast

On white

4.96
#5A63DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5A63DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63DA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63DA#FFFFFF#000000##FFFFFF
##5A63DA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B75DE
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a63da;
/* rgb */ color: rgb(90, 99, 218);
/* oklch */ color: oklch(55.7% 0.179 275.7);
Tailwind
colors: {
  custom: {
    50: '#948fe6',
    500: '#5a63da',
    950: '#000000',
  },
}
SCSS
$custom: #5a63da;
$custom-light: #948fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63da",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 218
  },
  "hsl": {
    "h": 235.781,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.17948,
    "h": 275.7
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#5A63DA
secondary
#E0DDAF
accent
#BF1ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A63DA

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

Preview Lab → · Contrast checker → · Palette generator →

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