#5A63CD#5A63CD

#5A63CD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.162 H 276.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5A63CD
RGBrgb(90, 99, 205)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(56.1%, 51.7%, 0%, 19.6%)
CIE-LABlab(46.32, 27.27, -56.25)
CIE-LCHlch(46.32, 62.51, 295.86°)
OKLaboklab(54.78% 0.017 -0.1609)
OKLCHoklch(54.78% 0.162 276)
XYZxyz(19.6942, 15.5037, 59.7005)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63CD #CDC45A
analogous
#5A9DCD #5A63CD #8A5ACD
triadic
#5A63CD #CD5A63 #63CD5A
tetradic
#5A63CD #CD5A9D #CDC45A #5ACD8A
square
#5A63CD #CD5A9D #CDC45A #5ACD8A
split-complementary
#5A63CD #CD8A5A #9DCD5A
monochromatic
#282F84 #3640B3 #5A63CD #898FDB #B8BCE9

Accessibility & contrast

On white

5.12
#5A63CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5A63CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63CD#FFFFFF#000000##FFFFFF
##5A63CD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#1169CB
Tritanopia (blue-blind)
#197B8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a63cd;
/* rgb */ color: rgb(90, 99, 205);
/* oklch */ color: oklch(54.8% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#928fdd',
    500: '#5a63cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a63cd;
$custom-light: #928fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63cd",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 205
  },
  "hsl": {
    "h": 235.304,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.16176,
    "h": 276
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#5A63CD
secondary
#D8D5AA
accent
#D14BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A63CD

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

Preview Lab → · Contrast checker → · Palette generator →

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