#5A63CB#5A63CB

#5A63CB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.159 H 276.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5A63CB
RGBrgb(90, 99, 203)
HSLhsl(235, 52%, 57%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(55.7%, 51.2%, 0%, 20.4%)
CIE-LABlab(46.19, 26.61, -55.31)
CIE-LCHlch(46.19, 61.38, 295.70°)
OKLaboklab(54.64% 0.0168 -0.1581)
OKLCHoklch(54.64% 0.159 276.1)
XYZxyz(19.4543, 15.4078, 58.4372)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63CB #CBC25A
analogous
#5A9CCB #5A63CB #895ACB
triadic
#5A63CB #CB5A63 #63CB5A
tetradic
#5A63CB #CB5A9C #CBC25A #5ACB89
square
#5A63CB #CB5A9C #CBC25A #5ACB89
split-complementary
#5A63CB #CB895A #9CCB5A
monochromatic
#293082 #3841B0 #5A63CB #898FDA #B7BBE8

Accessibility & contrast

On white

5.14
#5A63CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5A63CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63CB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63CB#FFFFFF#000000##FFFFFF
##5A63CB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#1D7A8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a63cb;
/* rgb */ color: rgb(90, 99, 203);
/* oklch */ color: oklch(54.6% 0.159 276.1);
Tailwind
colors: {
  custom: {
    50: '#918fdb',
    500: '#5a63cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a63cb;
$custom-light: #918fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63cb",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 235.221,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.15899,
    "h": 276.1
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#5A63CB
secondary
#D7D4AA
accent
#D04CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A63CB

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

Preview Lab → · Contrast checker → · Palette generator →

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