#5A63C8#5A63C8

#5A63C8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.155 H 276.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A63C8
RGBrgb(90, 99, 200)
HSLhsl(235, 50%, 57%)
HSVhsv(235, 55%, 78%)
CMYKcmyk(55%, 50.5%, 0%, 21.6%)
CIE-LABlab(46.00, 25.64, -53.89)
CIE-LCHlch(46.00, 59.68, 295.44°)
OKLaboklab(54.44% 0.0166 -0.1539)
OKLCHoklch(54.44% 0.155 276.1)
XYZxyz(19.1003, 15.2662, 56.5726)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63C8 #C8BF5A
analogous
#5A9AC8 #5A63C8 #885AC8
triadic
#5A63C8 #C85A63 #63C85A
tetradic
#5A63C8 #C85A9A #C8BF5A #5AC888
square
#5A63C8 #C85A9A #C8BF5A #5AC888
split-complementary
#5A63C8 #C8885A #9AC85A
monochromatic
#2A317E #3943AC #5A63C8 #888ED7 #B6BAE7

Accessibility & contrast

On white

5.18
#5A63C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5A63C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63C8#FFFFFF#000000##FFFFFF
##5A63C81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#1E69C6
Tritanopia (blue-blind)
#217A8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a63c8;
/* rgb */ color: rgb(90, 99, 200);
/* oklch */ color: oklch(54.4% 0.155 276.1);
Tailwind
colors: {
  custom: {
    50: '#918fd9',
    500: '#5a63c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a63c8;
$custom-light: #918fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63c8",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 200
  },
  "hsl": {
    "h": 235.091,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.15482,
    "h": 276.1
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

primary
#5A63C8
secondary
#D5D2A8
accent
#CE4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5A63C8

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

Preview Lab → · Contrast checker → · Palette generator →

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